Skip to content

Commit 54f9217

Browse files
authored
fix: Try to fix flaky test with retry on app install (#4693)
2 parents 2425217 + 1e7bc94 commit 54f9217

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/system/lib/stack.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ def install_app(inst, app)
8686
"--port", @port, "--admin-port", @admin,
8787
"--domain", inst.domain, ">", "/dev/null"]
8888
puts cmd.join(" ").green
89+
if system cmd.join(" ")
90+
@apps[key] = true
91+
return
92+
end
93+
94+
sleep 5
8995
@apps[key] = system cmd.join(" ")
9096
end
9197

0 commit comments

Comments
 (0)