From a5720334749f21a95be515784b9a226983872098 Mon Sep 17 00:00:00 2001 From: Roey Berman Date: Tue, 25 Feb 2025 15:44:47 -0800 Subject: [PATCH] Enable TestNexusTracingInterceptor if workflow cache is enabled --- test/nexus_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/nexus_test.go b/test/nexus_test.go index 3cddbdaf3..3a5701c31 100644 --- a/test/nexus_test.go +++ b/test/nexus_test.go @@ -2404,7 +2404,9 @@ func (t *otelTracer) spanChildren(spans []sdktrace.ReadOnlySpan, parentID trace. } func TestNexusTracingInterceptor(t *testing.T) { - t.Skip("this test is flaky in CI and needs to be restructured") + if os.Getenv("WORKFLOW_CACHE_SIZE") == "0" { + t.Skip("TestNexusTracingInterceptor not supported with 0 workflow cache size") + } cases := []struct { name string tracer func(t *testing.T) interceptortest.TestTracer