commit | cb0fa4011fb5f8336f84cf884be6e777d6a6d2c3 | [log] [tgz] |
---|---|---|
author | Sven Selberg <svense@axis.com> | Thu Feb 15 15:19:10 2024 +0100 |
committer | Sven Selberg <svense@axis.com> | Fri Feb 16 13:35:20 2024 +0000 |
tree | 0472e080372deed9eddda3858aa117142cf542e7 | |
parent | 348e9f6294f6bfba1beacfd10a5ccc38f7d6fc88 [diff] |
TestEventPublisher: double wait for event to 1000ms Slower CI machines seems to need more time before the event is published. Change-Id: Icb4d04830c245cb057b53cdf557f8b589375b290
diff --git a/src/test/java/com/googlesource/gerrit/plugins/eventseiffel/TestEventPublisher.java b/src/test/java/com/googlesource/gerrit/plugins/eventseiffel/TestEventPublisher.java index 7b4569e..e7c8869 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/eventseiffel/TestEventPublisher.java +++ b/src/test/java/com/googlesource/gerrit/plugins/eventseiffel/TestEventPublisher.java
@@ -34,7 +34,7 @@ @Ignore public class TestEventPublisher implements Runnable, EiffelEventHub.Consumer { /* Milliseconds after which the publisher-thread is expected to have handled the event. */ - public static int MILLIS_TO_WAIT = 500; + public static int MILLIS_TO_WAIT = 1000; Map<EventKey, EiffelEvent> publishedEvents = Maps.newConcurrentMap(); List<EventKey> actualOrder = Lists.newArrayList();