Add wait for flaky restartAfterRequestTimerExpiresWhenInitialTaskExecutionIsRejected test

This commit is contained in:
furq-aws 2023-03-22 18:56:26 -07:00
parent 584cbd8250
commit c0895e5647

View file

@ -400,6 +400,7 @@ public class ShardConsumerSubscriberTest {
// First try to start subscriptions.
synchronized (processedNotifier) {
subscriber.startSubscriptions();
processedNotifier.wait(100);
}
// Verifying that there are no interactions with shardConsumer mock indicating no records were sent back and