Skip to content

Commit

Permalink
[receiver/jaeger] Skip flaky tests (open-telemetry#10371)
Browse files Browse the repository at this point in the history
  • Loading branch information
djaglowski authored and kentquirk committed Jun 13, 2022
1 parent b0470a7 commit ff2def7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions receiver/jaegerreceiver/jaeger_agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ import (

var jaegerAgent = config.NewComponentIDWithName(typeStr, "agent_test")

var skip = func(t *testing.T, why string) {
t.Skip(why)
}

func TestJaegerAgentUDP_ThriftCompact(t *testing.T) {
skip(t, "Flaky Test - See https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/10368")
port := testutil.GetAvailablePort(t)
addrForClient := fmt.Sprintf(":%d", port)
testJaegerAgent(t, addrForClient, &configuration{
Expand All @@ -71,6 +76,7 @@ func TestJaegerAgentUDP_ThriftCompact_InvalidPort(t *testing.T) {
}

func TestJaegerAgentUDP_ThriftBinary(t *testing.T) {
skip(t, "Flaky Test - See https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/10369")
port := testutil.GetAvailablePort(t)
addrForClient := fmt.Sprintf(":%d", port)
testJaegerAgent(t, addrForClient, &configuration{
Expand All @@ -80,6 +86,7 @@ func TestJaegerAgentUDP_ThriftBinary(t *testing.T) {
}

func TestJaegerAgentUDP_ThriftBinary_PortInUse(t *testing.T) {
skip(t, "Flaky Test - See https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/10370")
// This test confirms that the thrift binary port is opened correctly. This is all we can test at the moment. See above.
port := testutil.GetAvailablePort(t)

Expand Down

0 comments on commit ff2def7

Please sign in to comment.