Skip to content

Commit

Permalink
increasing tests timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianoviana committed Sep 13, 2024
1 parent 15a46db commit 5f26c84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class AbstractBinaryEntryPointSystemTest
{
@Rule
public Timeout globalTimeout = Timeout.millis(TEST_TIMEOUT_IN_MS);
public static final long TEST_TIMEOUT_IN_MS = 20_000L;
public static final long TEST_TIMEOUT_IN_MS = 30_000L;

static final int AWAIT_TIMEOUT_IN_MS = 10_000;
static final int TIMEOUT_EPSILON_IN_MS = 10;
Expand Down
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 : 20_000;
public static final long DEFAULT_TIMEOUT_IN_MS = isDebuggerAttached() ? Integer.MAX_VALUE : 30_000;

public static <T> T withTimeout(final String message, final Supplier<Optional<T>> supplier, final long timeoutInMs)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public class AbstractGatewayToGatewaySystemTest
@Rule
public Timeout globalTimeout = Timeout.millis(TEST_TIMEOUT_IN_MS);

public static final long TEST_TIMEOUT_IN_MS = 20_000L;
public static final long TEST_TIMEOUT_IN_MS = 30_000L;
public static final long LONG_TEST_TIMEOUT_IN_MS = 50_000L;

static final int META_DATA_VALUE = 123;
Expand Down

0 comments on commit 5f26c84

Please sign in to comment.