Skip to content

Commit

Permalink
disabling flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thugrock7 committed Sep 10, 2024
1 parent 9691ec2 commit 209a7ca
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

public class VertxClientInstrumentationPostTests extends AbstractInstrumenterTest {
Expand Down Expand Up @@ -86,6 +87,9 @@ public void postJson_write_end() throws TimeoutException, InterruptedException {
TEST_WRITER.getAttributesMap(clientSpan).get("http.request.body").getStringValue());
}

// Reason: The test OTLP receiver is getting spans from previous tests when tests are run in batch
// TODO: Need to make the otlp receiver to be independent for each test
@Disabled("This is flaky on GHA")
@Test
public void postJson_write_end_string() throws TimeoutException, InterruptedException {
String uri = String.format("http://localhost:%d/echo", testHttpServer.port());
Expand Down Expand Up @@ -125,6 +129,7 @@ public void postJson_write_end_string() throws TimeoutException, InterruptedExce
TEST_WRITER.getAttributesMap(clientSpan).get("http.request.body").getStringValue());
}

@Disabled("This is flaky on GHA")
@Test
public void postJson_write_end_buffer() throws TimeoutException, InterruptedException {
String uri = String.format("http://localhost:%d/echo", testHttpServer.port());
Expand Down

0 comments on commit 209a7ca

Please sign in to comment.