Skip to content

Commit fd76b46

Browse files
committed
Fix
Signed-off-by: joshvanl <me@joshvanl.dev>
1 parent 9205c77 commit fd76b46

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/e2e/standalone/run_template_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func TestRunWithTemplateFile(t *testing.T) {
6767
// Wait for the emit-metrics app to fail (wrong file name). The app
6868
// log gets written quickly since `go run wrongappname.go` fails
6969
// immediately. Then send stop so the CLI shuts down gracefully.
70-
waitForLogContent(t, "../../apps/emit-metrics/.dapr/logs", "app", "exit status 1", 60*time.Second)
70+
waitForLogContent(t, "../../apps/emit-metrics/.dapr/logs", "app", "exit status 1", 120*time.Second)
7171
cmdStopWithRunTemplate(runFilePath)
7272
// Give the CLI time to gracefully shut down. The CLI must process
7373
// the SIGTERM from stop, then kill daprd/app processes (up to 5s

tests/e2e/standalone/workflow_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ func TestWorkflowChildCalls(t *testing.T) {
522522
})
523523

524524
t.Run("child workflow failure handling", func(t *testing.T) {
525-
output, err := cmdWorkflowRun(appID, "ParentWorkflow", "--input", `{"fail": true}`, "--instance-id=parent-1")
525+
output, err := cmdWorkflowRun(appID, "ParentWorkflow", "--input", `{"fail": true}`, "--instance-id=parent-fail-1")
526526
require.NoError(t, err, output)
527527

528528
// Poll until the parent workflow reaches a terminal state.
@@ -537,13 +537,13 @@ func TestWorkflowChildCalls(t *testing.T) {
537537
return false
538538
}
539539
for _, item := range list {
540-
if item["instanceID"] == "parent-1" {
540+
if item["instanceID"] == "parent-fail-1" {
541541
status, _ := item["runtimeStatus"].(string)
542542
return status == "COMPLETED" || status == "FAILED"
543543
}
544544
}
545545
return false
546-
}, 30*time.Second, time.Second, "parent-1 workflow did not reach terminal state")
546+
}, 30*time.Second, time.Second, "parent-fail-1 workflow did not reach terminal state")
547547
})
548548
}
549549

0 commit comments

Comments
 (0)