Skip to content

Commit 9273843

Browse files
committed
test fix
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 317d8df commit 9273843

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/informer/InformerEventSourceTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,14 +339,14 @@ void multipleCachingFilteringUpdates_variant3() {
339339
void multipleCachingFilteringUpdates_variant4() {
340340
withRealTemporaryResourceCache();
341341

342-
CountDownLatch latch = sendForEventFilteringUpdate(2);
342+
CountDownLatch latch = sendForEventFilteringUpdate(3);
343343
CountDownLatch latch2 =
344-
sendForEventFilteringUpdate(withResourceVersion(testDeployment(), 2), 3);
344+
sendForEventFilteringUpdate(withResourceVersion(testDeployment(), 3), 4);
345345

346-
informerEventSource.onUpdate(
347-
deploymentWithResourceVersion(1), deploymentWithResourceVersion(2));
348346
informerEventSource.onUpdate(
349347
deploymentWithResourceVersion(2), deploymentWithResourceVersion(3));
348+
informerEventSource.onUpdate(
349+
deploymentWithResourceVersion(3), deploymentWithResourceVersion(4));
350350
latch.countDown();
351351
latch2.countDown();
352352

0 commit comments

Comments
 (0)