Skip to content

Commit 0b85a3c

Browse files
committed
test: Change advance duration back to zero
1 parent 2581a7a commit 0b85a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/PublisherImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ public void testPublishThrowExceptionForUnsubmittedOrderingKeyMessage() throws E
630630
} catch (ExecutionException e) {
631631
assertEquals(SequentialExecutorService.CallbackExecutor.CANCELLATION_EXCEPTION, e.getCause());
632632
}
633-
fakeExecutor.advanceTime(Duration.ofSeconds(5));
633+
fakeExecutor.advanceTime(Duration.ZERO);
634634

635635
// A subsequent attempt fails immediately.
636636
ApiFuture<String> publishFuture4 = sendTestMessageWithOrderingKey(publisher, "D", "a");

0 commit comments

Comments
 (0)