From 6c94f225495433092934aae74d2cb4688248b485 Mon Sep 17 00:00:00 2001 From: Masashi Umezawa Date: Mon, 2 Sep 2024 21:57:47 +0900 Subject: [PATCH] Added a small wait to testSimpleGroupPoll for avoiding flaky errors --- .../instance/testSimpleGroupPoll.st | 1 + 1 file changed, 1 insertion(+) diff --git a/repository/RediStick-Stream-Objects-Tests.package/RsStreamConsumerGroupPollerTest.class/instance/testSimpleGroupPoll.st b/repository/RediStick-Stream-Objects-Tests.package/RsStreamConsumerGroupPollerTest.class/instance/testSimpleGroupPoll.st index e3b1602..da2c338 100644 --- a/repository/RediStick-Stream-Objects-Tests.package/RsStreamConsumerGroupPollerTest.class/instance/testSimpleGroupPoll.st +++ b/repository/RediStick-Stream-Objects-Tests.package/RsStreamConsumerGroupPollerTest.class/instance/testSimpleGroupPoll.st @@ -21,6 +21,7 @@ testSimpleGroupPoll strm nextPut: (('idx:', idx asString) -> idx). ]. [consumerGroup summaryPendingList isEmpty] whileFalse: [ (Delay forMilliseconds: 100) wait]. + (Delay forMilliseconds: 10) wait. poller1 stop. poller2 stop.