Skip to content

Commit

Permalink
setting the timeout to an appropriate value
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Apr 21, 2021
1 parent a810d42 commit 7a2b4f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ public void onDelete(Pod oldObj, boolean deletedFinalStateUnknown) {
}
});
factory.startAllRegisteredInformers();
updates.await(600, TimeUnit.SECONDS);
updates.await(LATCH_AWAIT_PERIOD_IN_SECONDS, TimeUnit.SECONDS);

// Then
assertEquals(0, updates.getCount());
Expand Down

0 comments on commit 7a2b4f3

Please # to comment.