@@ -459,7 +459,7 @@ public void testSync() {
459
459
assertEquals ("activity10" , result );
460
460
tracer .setExpected (
461
461
"interceptExecuteWorkflow " + UUID_REGEXP ,
462
- "newThread root " ,
462
+ "newThread workflow-method " ,
463
463
"newThread null" ,
464
464
"sleep PT2S" ,
465
465
"executeActivity ActivityWithDelay" ,
@@ -1499,19 +1499,19 @@ public void testContinueAsNew() {
1499
1499
assertEquals (111 , result );
1500
1500
tracer .setExpected (
1501
1501
"interceptExecuteWorkflow " + UUID_REGEXP ,
1502
- "newThread root " ,
1502
+ "newThread workflow-method " ,
1503
1503
"continueAsNew" ,
1504
1504
"interceptExecuteWorkflow " + UUID_REGEXP ,
1505
- "newThread root " ,
1505
+ "newThread workflow-method " ,
1506
1506
"continueAsNew" ,
1507
1507
"interceptExecuteWorkflow " + UUID_REGEXP ,
1508
- "newThread root " ,
1508
+ "newThread workflow-method " ,
1509
1509
"continueAsNew" ,
1510
1510
"interceptExecuteWorkflow " + UUID_REGEXP ,
1511
- "newThread root " ,
1511
+ "newThread workflow-method " ,
1512
1512
"continueAsNew" ,
1513
1513
"interceptExecuteWorkflow " + UUID_REGEXP ,
1514
- "newThread root " );
1514
+ "newThread workflow-method " );
1515
1515
}
1516
1516
1517
1517
@ WorkflowInterface
@@ -1546,10 +1546,10 @@ public void testContinueAsNewNoArgs() {
1546
1546
assertEquals ("done" , result );
1547
1547
tracer .setExpected (
1548
1548
"interceptExecuteWorkflow " + UUID_REGEXP ,
1549
- "newThread root " ,
1549
+ "newThread workflow-method " ,
1550
1550
"continueAsNew" ,
1551
1551
"interceptExecuteWorkflow " + UUID_REGEXP ,
1552
- "newThread root " );
1552
+ "newThread workflow-method " );
1553
1553
}
1554
1554
1555
1555
public static class TestAsyncActivityWorkflowImpl implements TestWorkflow1 {
@@ -2369,15 +2369,15 @@ public void testTimer() {
2369
2369
tracer .setExpected (
2370
2370
"interceptExecuteWorkflow " + UUID_REGEXP ,
2371
2371
"registerQuery getTrace" ,
2372
- "newThread root " ,
2372
+ "newThread workflow-method " ,
2373
2373
"newTimer PT0.7S" ,
2374
2374
"newTimer PT1.3S" ,
2375
2375
"newTimer PT10S" );
2376
2376
} else {
2377
2377
tracer .setExpected (
2378
2378
"interceptExecuteWorkflow " + UUID_REGEXP ,
2379
2379
"registerQuery getTrace" ,
2380
- "newThread root " ,
2380
+ "newThread workflow-method " ,
2381
2381
"newTimer PT11M40S" ,
2382
2382
"newTimer PT21M40S" ,
2383
2383
"newTimer PT10H" );
@@ -3482,10 +3482,10 @@ public void testSignalExternalWorkflow() {
3482
3482
tracer .setExpected (
3483
3483
"interceptExecuteWorkflow " + stub .getExecution ().getWorkflowId (),
3484
3484
"registerSignal testSignal" ,
3485
- "newThread root " ,
3485
+ "newThread workflow-method " ,
3486
3486
"executeChildWorkflow SignalingChild" ,
3487
3487
"interceptExecuteWorkflow " + UUID_REGEXP , // child
3488
- "newThread root " ,
3488
+ "newThread workflow-method " ,
3489
3489
"signalExternalWorkflow " + UUID_REGEXP + " testSignal" );
3490
3490
}
3491
3491
@@ -4573,7 +4573,7 @@ public void testSideEffect() {
4573
4573
assertEquals ("activity1" , result );
4574
4574
tracer .setExpected (
4575
4575
"interceptExecuteWorkflow " + UUID_REGEXP ,
4576
- "newThread root " ,
4576
+ "newThread workflow-method " ,
4577
4577
"sideEffect" ,
4578
4578
"sleep PT1S" ,
4579
4579
"executeActivity customActivity1" );
@@ -4671,7 +4671,7 @@ public void testGetVersion() {
4671
4671
assertEquals ("activity22activity1activity1activity1" , result );
4672
4672
tracer .setExpected (
4673
4673
"interceptExecuteWorkflow " + UUID_REGEXP ,
4674
- "newThread root " ,
4674
+ "newThread workflow-method " ,
4675
4675
"getVersion" ,
4676
4676
"executeActivity Activity2" ,
4677
4677
"getVersion" ,
@@ -4984,7 +4984,7 @@ public void testGetVersionRemovedInReplay() {
4984
4984
assertEquals ("activity22activity" , result );
4985
4985
tracer .setExpected (
4986
4986
"interceptExecuteWorkflow " + UUID_REGEXP ,
4987
- "newThread root " ,
4987
+ "newThread workflow-method " ,
4988
4988
"getVersion" ,
4989
4989
"executeActivity Activity2" ,
4990
4990
"executeActivity Activity" );
@@ -5022,7 +5022,7 @@ public void testGetVersionRemovedBefore() {
5022
5022
assertEquals ("activity" , result );
5023
5023
tracer .setExpected (
5024
5024
"interceptExecuteWorkflow " + UUID_REGEXP ,
5025
- "newThread root " ,
5025
+ "newThread workflow-method " ,
5026
5026
"getVersion" ,
5027
5027
"getVersion" ,
5028
5028
"getVersion" ,
@@ -5225,7 +5225,7 @@ public void testUUIDAndRandom() {
5225
5225
assertEquals ("foo10" , result );
5226
5226
tracer .setExpected (
5227
5227
"interceptExecuteWorkflow " + UUID_REGEXP ,
5228
- "newThread root " ,
5228
+ "newThread workflow-method " ,
5229
5229
"sideEffect" ,
5230
5230
"sideEffect" ,
5231
5231
"executeActivity Activity2" );
@@ -5934,15 +5934,15 @@ public void testSaga() {
5934
5934
sagaWorkflow .execute (taskList , false );
5935
5935
tracer .setExpected (
5936
5936
"interceptExecuteWorkflow " + UUID_REGEXP ,
5937
- "newThread root " ,
5937
+ "newThread workflow-method " ,
5938
5938
"executeActivity customActivity1" ,
5939
5939
"executeChildWorkflow TestMultiargsWorkflowsFunc" ,
5940
5940
"interceptExecuteWorkflow " + UUID_REGEXP ,
5941
- "newThread root " ,
5941
+ "newThread workflow-method " ,
5942
5942
"executeActivity ThrowIO" ,
5943
5943
"executeChildWorkflow TestCompensationWorkflow" ,
5944
5944
"interceptExecuteWorkflow " + UUID_REGEXP ,
5945
- "newThread root " ,
5945
+ "newThread workflow-method " ,
5946
5946
"executeActivity Activity2" );
5947
5947
}
5948
5948
@@ -6063,7 +6063,7 @@ public void testUpsertSearchAttributes() {
6063
6063
assertEquals ("done" , result );
6064
6064
tracer .setExpected (
6065
6065
"interceptExecuteWorkflow " + UUID_REGEXP ,
6066
- "newThread root " ,
6066
+ "newThread workflow-method " ,
6067
6067
"upsertSearchAttributes" ,
6068
6068
"executeActivity Activity" );
6069
6069
}
0 commit comments