Skip to content

Commit

Permalink
making await timeout lower than test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianoviana committed Sep 18, 2024
1 parent 33e9fcb commit ce1bccd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
public final class Timing
{
// Long timeout, but one that doesn't cause long overflow.
public static final long DEFAULT_TIMEOUT_IN_MS = isDebuggerAttached() ? Integer.MAX_VALUE : 30_000;
public static final long DEFAULT_TIMEOUT_IN_MS = isDebuggerAttached() ? Integer.MAX_VALUE : 29_000;

public static <T> T withTimeout(final String message, final Supplier<Optional<T>> supplier, final long timeoutInMs)
{
Expand Down

0 comments on commit ce1bccd

Please sign in to comment.