Ensuring passing context across fission (#2555)

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Sanket Sudake
2022-09-26 16:05:45 +05:30
committed by GitHub
parent a8a81ef5be
commit 3fa0f4bde3
43 changed files with 301 additions and 300 deletions
+2 -1
View File
@@ -62,7 +62,8 @@ func TestGetTraceExporter(t *testing.T) {
t.Errorf("Expected OTEL_EXPORTER_OTLP_INSECURE to be set, got %s", OtelInsecureEnvVar)
}
logger := loggerfactory.GetLogger()
ctx := context.Background()
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
tests := []struct {
oltpEndpoint string
oltpInsecure string