Skip to content

Commit

Permalink
Add sleeper
Browse files Browse the repository at this point in the history
  • Loading branch information
briancain committed Feb 19, 2025
1 parent c9acbca commit f796a29
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/provider/waypoint/resource_waypoint_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,12 @@ resource "hcp_waypoint_template" "actions_template_test" {
actions = [hcp_waypoint_action.test.name]
depends_on = [hcp_waypoint_action.test]
count = 3
provisioner "local-exec" {
command = "sleep 10s" # Introduce a delay to reduce race conditions
on_failure = "continue"
}
}`, templateName, actionName)
}

Expand Down

0 comments on commit f796a29

Please sign in to comment.