@@ -459,7 +459,7 @@ public void testSync() {
459459 assertEquals ("activity10" , result );
460460 tracer .setExpected (
461461 "interceptExecuteWorkflow " + UUID_REGEXP ,
462- "newThread root " ,
462+ "newThread workflow-method " ,
463463 "newThread null" ,
464464 "sleep PT2S" ,
465465 "executeActivity ActivityWithDelay" ,
@@ -1499,19 +1499,19 @@ public void testContinueAsNew() {
14991499 assertEquals (111 , result );
15001500 tracer .setExpected (
15011501 "interceptExecuteWorkflow " + UUID_REGEXP ,
1502- "newThread root " ,
1502+ "newThread workflow-method " ,
15031503 "continueAsNew" ,
15041504 "interceptExecuteWorkflow " + UUID_REGEXP ,
1505- "newThread root " ,
1505+ "newThread workflow-method " ,
15061506 "continueAsNew" ,
15071507 "interceptExecuteWorkflow " + UUID_REGEXP ,
1508- "newThread root " ,
1508+ "newThread workflow-method " ,
15091509 "continueAsNew" ,
15101510 "interceptExecuteWorkflow " + UUID_REGEXP ,
1511- "newThread root " ,
1511+ "newThread workflow-method " ,
15121512 "continueAsNew" ,
15131513 "interceptExecuteWorkflow " + UUID_REGEXP ,
1514- "newThread root " );
1514+ "newThread workflow-method " );
15151515 }
15161516
15171517 @ WorkflowInterface
@@ -1546,10 +1546,10 @@ public void testContinueAsNewNoArgs() {
15461546 assertEquals ("done" , result );
15471547 tracer .setExpected (
15481548 "interceptExecuteWorkflow " + UUID_REGEXP ,
1549- "newThread root " ,
1549+ "newThread workflow-method " ,
15501550 "continueAsNew" ,
15511551 "interceptExecuteWorkflow " + UUID_REGEXP ,
1552- "newThread root " );
1552+ "newThread workflow-method " );
15531553 }
15541554
15551555 public static class TestAsyncActivityWorkflowImpl implements TestWorkflow1 {
@@ -2369,15 +2369,15 @@ public void testTimer() {
23692369 tracer .setExpected (
23702370 "interceptExecuteWorkflow " + UUID_REGEXP ,
23712371 "registerQuery getTrace" ,
2372- "newThread root " ,
2372+ "newThread workflow-method " ,
23732373 "newTimer PT0.7S" ,
23742374 "newTimer PT1.3S" ,
23752375 "newTimer PT10S" );
23762376 } else {
23772377 tracer .setExpected (
23782378 "interceptExecuteWorkflow " + UUID_REGEXP ,
23792379 "registerQuery getTrace" ,
2380- "newThread root " ,
2380+ "newThread workflow-method " ,
23812381 "newTimer PT11M40S" ,
23822382 "newTimer PT21M40S" ,
23832383 "newTimer PT10H" );
@@ -3482,10 +3482,10 @@ public void testSignalExternalWorkflow() {
34823482 tracer .setExpected (
34833483 "interceptExecuteWorkflow " + stub .getExecution ().getWorkflowId (),
34843484 "registerSignal testSignal" ,
3485- "newThread root " ,
3485+ "newThread workflow-method " ,
34863486 "executeChildWorkflow SignalingChild" ,
34873487 "interceptExecuteWorkflow " + UUID_REGEXP , // child
3488- "newThread root " ,
3488+ "newThread workflow-method " ,
34893489 "signalExternalWorkflow " + UUID_REGEXP + " testSignal" );
34903490 }
34913491
@@ -4573,7 +4573,7 @@ public void testSideEffect() {
45734573 assertEquals ("activity1" , result );
45744574 tracer .setExpected (
45754575 "interceptExecuteWorkflow " + UUID_REGEXP ,
4576- "newThread root " ,
4576+ "newThread workflow-method " ,
45774577 "sideEffect" ,
45784578 "sleep PT1S" ,
45794579 "executeActivity customActivity1" );
@@ -4671,7 +4671,7 @@ public void testGetVersion() {
46714671 assertEquals ("activity22activity1activity1activity1" , result );
46724672 tracer .setExpected (
46734673 "interceptExecuteWorkflow " + UUID_REGEXP ,
4674- "newThread root " ,
4674+ "newThread workflow-method " ,
46754675 "getVersion" ,
46764676 "executeActivity Activity2" ,
46774677 "getVersion" ,
@@ -4984,7 +4984,7 @@ public void testGetVersionRemovedInReplay() {
49844984 assertEquals ("activity22activity" , result );
49854985 tracer .setExpected (
49864986 "interceptExecuteWorkflow " + UUID_REGEXP ,
4987- "newThread root " ,
4987+ "newThread workflow-method " ,
49884988 "getVersion" ,
49894989 "executeActivity Activity2" ,
49904990 "executeActivity Activity" );
@@ -5022,7 +5022,7 @@ public void testGetVersionRemovedBefore() {
50225022 assertEquals ("activity" , result );
50235023 tracer .setExpected (
50245024 "interceptExecuteWorkflow " + UUID_REGEXP ,
5025- "newThread root " ,
5025+ "newThread workflow-method " ,
50265026 "getVersion" ,
50275027 "getVersion" ,
50285028 "getVersion" ,
@@ -5225,7 +5225,7 @@ public void testUUIDAndRandom() {
52255225 assertEquals ("foo10" , result );
52265226 tracer .setExpected (
52275227 "interceptExecuteWorkflow " + UUID_REGEXP ,
5228- "newThread root " ,
5228+ "newThread workflow-method " ,
52295229 "sideEffect" ,
52305230 "sideEffect" ,
52315231 "executeActivity Activity2" );
@@ -5934,15 +5934,15 @@ public void testSaga() {
59345934 sagaWorkflow .execute (taskList , false );
59355935 tracer .setExpected (
59365936 "interceptExecuteWorkflow " + UUID_REGEXP ,
5937- "newThread root " ,
5937+ "newThread workflow-method " ,
59385938 "executeActivity customActivity1" ,
59395939 "executeChildWorkflow TestMultiargsWorkflowsFunc" ,
59405940 "interceptExecuteWorkflow " + UUID_REGEXP ,
5941- "newThread root " ,
5941+ "newThread workflow-method " ,
59425942 "executeActivity ThrowIO" ,
59435943 "executeChildWorkflow TestCompensationWorkflow" ,
59445944 "interceptExecuteWorkflow " + UUID_REGEXP ,
5945- "newThread root " ,
5945+ "newThread workflow-method " ,
59465946 "executeActivity Activity2" );
59475947 }
59485948
@@ -6063,7 +6063,7 @@ public void testUpsertSearchAttributes() {
60636063 assertEquals ("done" , result );
60646064 tracer .setExpected (
60656065 "interceptExecuteWorkflow " + UUID_REGEXP ,
6066- "newThread root " ,
6066+ "newThread workflow-method " ,
60676067 "upsertSearchAttributes" ,
60686068 "executeActivity Activity" );
60696069 }
0 commit comments