Skip to content

Commit

Permalink
Run all full traffic tests as longTests (slowTest) instead of isolated.
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Schohn <[email protected]>
  • Loading branch information
gregschohn committed Sep 12, 2024
1 parent 10cf029 commit 54822a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected TestContext makeInstrumentationContext() {
@ValueSource(ints = { 1, 2 })
@ResourceLock("TrafficReplayerRunner")
// run in isolation to reduce the chance that there's a broken connection, upsetting the tcpConnection count check
@Tag("isolatedTest")
@Tag("longTest")
public void testStreamWithRequestsWithCloseIsCommittedOnce(int numRequests) throws Throwable {
var random = new Random(1);
try (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public void testSingleStreamWithCloseIsCommitted() throws Throwable {

@Test
@ResourceLock("TrafficReplayerRunner")
@Tag("isolatedTest")
@Tag("slowTest")
public void fullTestWithThrottledStart() throws Throwable {
var random = new Random(1);
try (
Expand Down Expand Up @@ -357,7 +357,7 @@ public void makeSureThatCollateralDamageDoesntFreezeTests() throws Throwable {

@ParameterizedTest
@CsvSource(value = { "3,false", "-1,false", "3,true", "-1,true", })
@Tag("isolatedTest")
@Tag("slowTest")
@ResourceLock("TrafficReplayerRunner")
public void fullTestWithRestarts(int testSize, boolean randomize) throws Throwable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public Consumer<SourceTargetCaptureTuple> get() {

@ParameterizedTest
@CsvSource(value = { "3,false", "-1,false", "3,true", "-1,true", })
@Tag("isolatedTest")
@Tag("longTest")
@ResourceLock("TrafficReplayerRunner")
public void fullTest(int testSize, boolean randomize) throws Throwable {
var random = new Random(1);
Expand Down

0 comments on commit 54822a9

Please sign in to comment.