File tree Expand file tree Collapse file tree
src/test/java/com/uid2/operator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -222,13 +222,13 @@ void keysetKeyLogProgressAtInterval(VertxTestContext testContext) {
222222 long warnLogCount1 = logWatcher .list .stream ().filter (log ->
223223 log .getFormattedMessage ().contains ("keyset keys sync still failing" )).count ();
224224
225- when (clock .instant ()).thenAnswer (i -> Instant .now ().plus (30 , ChronoUnit .MINUTES ));
225+ when (clock .instant ()).thenAnswer (i -> Instant .now ().plus (5 , ChronoUnit .MINUTES ));
226226 this .operatorShutdownHandler .handleKeysetKeyRefreshResponse (false );
227227 long warnLogCount2 = logWatcher .list .stream ().filter (log ->
228228 log .getFormattedMessage ().contains ("keyset keys sync still failing" )).count ();
229229 Assertions .assertEquals (warnLogCount1 , warnLogCount2 );
230230
231- when (clock .instant ()).thenAnswer (i -> Instant .now ().plus (61 , ChronoUnit .MINUTES ));
231+ when (clock .instant ()).thenAnswer (i -> Instant .now ().plus (11 , ChronoUnit .MINUTES ));
232232 this .operatorShutdownHandler .handleKeysetKeyRefreshResponse (false );
233233 long warnLogCount3 = logWatcher .list .stream ().filter (log ->
234234 log .getFormattedMessage ().contains ("keyset keys sync still failing" )).count ();
You can’t perform that action at this time.
0 commit comments