We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96345b1 commit 59a3855Copy full SHA for 59a3855
stats/opentelemetry/csm/observability_test.go
@@ -606,6 +606,9 @@ func (s) TestXDSLabels(t *testing.T) {
606
// without error. The actual functionality of this function will be verified in
607
// interop tests.
608
func (s) TestObservability(t *testing.T) {
609
- cleanup := EnableObservability(context.Background(), opentelemetry.Options{})
+ ctx, cancel := context.WithTimeout(context.Background(), defaultTestTimeout)
610
+ defer cancel()
611
+
612
+ cleanup := EnableObservability(ctx, opentelemetry.Options{})
613
cleanup()
614
}
0 commit comments