File tree Expand file tree Collapse file tree
tests/src/test/java/io/orkes/conductor/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 */
1313package io .orkes .conductor .client ;
1414
15+ import java .time .Duration ;
1516import java .util .*;
1617
1718import org .junit .jupiter .api .Assertions ;
1819import org .junit .jupiter .api .DisplayName ;
1920import org .junit .jupiter .api .Test ;
2021
22+ import com .google .common .util .concurrent .Uninterruptibles ;
2123import com .netflix .conductor .common .metadata .tasks .TaskDef ;
2224import com .netflix .conductor .common .metadata .tasks .TaskResult ;
2325import com .netflix .conductor .common .metadata .workflow .StartWorkflowRequest ;
@@ -58,6 +60,7 @@ public void testRetry() {
5860 startWorkflowRequest .setVersion (1 );
5961 startWorkflowRequest .setInput (new HashMap <>());
6062 String workflowId = workflowClient .startWorkflow (startWorkflowRequest );
63+ Uninterruptibles .sleepUninterruptibly (Duration .ofMillis (100 ));
6164 Workflow workflow = workflowClient .getWorkflow (workflowId , true );
6265
6366 String taskId = workflow .getTasks ().get (0 ).getTaskId ();
You can’t perform that action at this time.
0 commit comments