Skip to content

Commit

Permalink
fix: test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
siavash committed Sep 1, 2023
1 parent c6dc546 commit 355c613
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,14 @@ public void signalWithStart() {
assertEquals(clientSpan.context().spanId(), workflowStartSpan.parentId());
assertEquals("SignalWithStartWorkflow:TestWorkflow", workflowStartSpan.operationName());

List<MockSpan> workflowRunSpans = spansHelper.getByParentSpan(workflowStartSpan);
assertEquals(2, workflowRunSpans.size());
List<MockSpan> 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());
}
Expand Down

0 comments on commit 355c613

Please sign in to comment.