Remove the otel semantics override

With the bump to otelhttp 0.61, this is no longer necessary.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
This commit is contained in:
Stephen Kitt
2025-08-28 09:22:41 +02:00
parent 684473af62
commit c35d5473dd

View File

@@ -324,8 +324,6 @@ endpoint: %s`, listener.Addr().String())), os.FileMode(0755)); err != nil {
}
func TestAPIServerTracing(t *testing.T) {
// TODO: remove after updating otelhttp to v0.61.0
t.Setenv("OTEL_SEMCONV_STABILITY_OPT_IN", "http/dup")
// Listen for traces from the API Server before starting it, so the
// API Server will successfully connect right away during the test.
listener, err := net.Listen("tcp", "localhost:")