diff --git a/temporal-opentracing/src/test/java/io/temporal/opentracing/SignalWithStartTest.java b/temporal-opentracing/src/test/java/io/temporal/opentracing/SignalWithStartTest.java index 0464b8594..bda67e6cd 100644 --- a/temporal-opentracing/src/test/java/io/temporal/opentracing/SignalWithStartTest.java +++ b/temporal-opentracing/src/test/java/io/temporal/opentracing/SignalWithStartTest.java @@ -121,14 +121,14 @@ public void signalWithStart() { assertEquals(clientSpan.context().spanId(), workflowStartSpan.parentId()); assertEquals("SignalWithStartWorkflow:TestWorkflow", workflowStartSpan.operationName()); - List workflowRunSpans = spansHelper.getByParentSpan(workflowStartSpan); - assertEquals(2, workflowRunSpans.size()); + List workflowSpans = spansHelper.getByParentSpan(workflowStartSpan); + assertEquals(2, workflowSpans.size()); - MockSpan workflowSignalSpan = workflowRunSpans.get(0); + MockSpan workflowSignalSpan = workflowSpans.get(0); assertEquals(workflowStartSpan.context().spanId(), workflowSignalSpan.parentId()); assertEquals("HandleSignal:signal", workflowSignalSpan.operationName()); - MockSpan workflowRunSpan = workflowRunSpans.get(1); + MockSpan workflowRunSpan = workflowSpans.get(1); assertEquals(workflowStartSpan.context().spanId(), workflowRunSpan.parentId()); assertEquals("RunWorkflow:TestWorkflow", workflowRunSpan.operationName()); }