Skip to content

Commit

Permalink
increasing the timeouts seems to help?
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Fuller committed Apr 12, 2022
1 parent ef7314a commit d7f2c87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/boshhelpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ func BoshCmd(args ...string) *gexec.Session {
func Cleanup() {
BoshCmd("locks")
session := BoshCmd("delete-deployment")
Eventually(session, 15*time.Minute).Should(gexec.Exit(0))
Eventually(session, 30*time.Minute).Should(gexec.Exit(0))
Eventually(BoshCmd("locks")).ShouldNot(gbytes.Say(DeploymentName()))
}

func Deploy(manifest string) *gexec.Session {
session := BoshCmd("deploy", manifest,
"-v", fmt.Sprintf("deployment=%s", DeploymentName()),
fmt.Sprintf("--vars-store=/tmp/%s-vars.yml", DeploymentName()))
Eventually(session, 15*time.Minute).Should(gexec.Exit(0))
Eventually(session, 30*time.Minute).Should(gexec.Exit(0))
Eventually(BoshCmd("locks")).ShouldNot(gbytes.Say(DeploymentName()))
return session
}
Expand Down

0 comments on commit d7f2c87

Please sign in to comment.