Skip to content

Commit

Permalink
test: disable flaky test (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
algomaster99 authored Jul 4, 2023
1 parent 1c77671 commit f0160f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions trace-collector/src/test/java/NewCollectorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.apache.maven.shared.invoker.InvocationResult;
import org.apache.maven.shared.invoker.Invoker;
import org.apache.maven.shared.invoker.MavenInvocationException;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -994,6 +995,7 @@ void shouldCollectStaticFieldsOfNullObjects() throws MavenInvocationException, I
assertThat(volatileField.getValue(), equalTo(false));
}

@Disabled("This test is disabled because it is not deterministic")
@Test
void shouldBeAbleToRunMultiThreadedProgram() throws MavenInvocationException, IOException {
// arrange
Expand Down

0 comments on commit f0160f4

Please sign in to comment.