@@ -1131,11 +1131,9 @@ func TestAsyncOperationFromWorkflow_MultipleCallers(t *testing.T) {
1131
1131
{
1132
1132
input : "conflict-policy-use-existing" ,
1133
1133
checkOutput : func (t * testing.T , numCalls int , res CallerWfOutput , err error ) {
1134
- // TODO(rodrigozhou): assert NotError and remove the comments below after UseExisting is
1135
- // unblocked.
1136
- require .ErrorContains (t , err , "workflow ID conflict policy UseExisting is not supported for Nexus WorkflowRunOperation" )
1137
- // require.EqualValues(t, numCalls, res.CntOk)
1138
- // require.EqualValues(t, 0, res.CntErr)
1134
+ require .NoError (t , err )
1135
+ require .EqualValues (t , numCalls , res .CntOk )
1136
+ require .EqualValues (t , 0 , res .CntErr )
1139
1137
},
1140
1138
},
1141
1139
}
@@ -1828,11 +1826,9 @@ func TestWorkflowTestSuite_WorkflowRunOperation_MultipleCallers(t *testing.T) {
1828
1826
{
1829
1827
input : "conflict-policy-use-existing" ,
1830
1828
checkOutput : func (t * testing.T , numCalls int , res CallerWfOutput , err error ) {
1831
- // TODO(rodrigozhou): assert NotError and remove the comments below after UseExisting is
1832
- // unblocked.
1833
- require .ErrorContains (t , err , "workflow ID conflict policy UseExisting is not supported for Nexus WorkflowRunOperation" )
1834
- // require.EqualValues(t, numCalls, res.CntOk)
1835
- // require.EqualValues(t, 0, res.CntErr)
1829
+ require .NoError (t , err )
1830
+ require .EqualValues (t , numCalls , res .CntOk )
1831
+ require .EqualValues (t , 0 , res .CntErr )
1836
1832
},
1837
1833
},
1838
1834
}
0 commit comments