[TEST] fix DeleteDataStreamRequestTests failure (#37)
This commit fixes DeleteDataStreamRequestTests.testDeleteSnapshottingDataStream unit test failure by passing SnapshotsInProgress.Entry.SUCCESS in the createEntrymethod. Signed-off-by: Peter Nied <petern@amazon.com>
This commit is contained in:
parent
ae0dc2ff5b
commit
24dc3986ce
|
@ -136,7 +136,7 @@ public class DeleteDataStreamRequestTests extends AbstractWireSerializingTestCas
|
|||
|
||||
private SnapshotsInProgress.Entry createEntry(String dataStreamName, String repo, boolean partial) {
|
||||
return new SnapshotsInProgress.Entry(new Snapshot(repo, new SnapshotId("", "")), false, partial,
|
||||
SnapshotsInProgress.State.STARTED, Collections.emptyList(), Collections.singletonList(dataStreamName), 0, 1,
|
||||
SnapshotsInProgress.State.SUCCESS, Collections.emptyList(), Collections.singletonList(dataStreamName), 0, 1,
|
||||
ImmutableOpenMap.of(), null, null, null);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue