Skip to content

Commit b0060be

Browse files
authored
test: add test for DUPLICATE_BLOCK status with starting block number 0 (#1451)
Signed-off-by: Mustafa Uzun <mustafa.uzun@limechain.tech>
1 parent c2e1814 commit b0060be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools-and-tests/suites/src/main/java/org/hiero/block/suites/publisher/positive/PositiveMultiplePublishersTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ private Future<?> startSimulatorInstanceWithErrorResponse(@NonNull final BlockSt
419419
private static Stream<Arguments> provideDataForErrorResponses() {
420420
return Stream.of(
421421
Arguments.of(Map.of("generator.startBlockNumber", Long.toString(15)), "status: BEHIND"),
422-
Arguments.of(Map.of("generator.startBlockNumber", Long.toString(4)), "status: DUPLICATE_BLOCK"));
422+
Arguments.of(Map.of("generator.startBlockNumber", Long.toString(4)), "status: DUPLICATE_BLOCK"),
423+
Arguments.of(Map.of("generator.startBlockNumber", Long.toString(0)), "status: DUPLICATE_BLOCK"));
423424
}
424425
}

0 commit comments

Comments
 (0)