mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Add 20m timeout to system tests (#21323)
This commit is contained in:
parent
d697fd5766
commit
a4dd758f5c
@ -215,7 +215,7 @@ task "docker:test" do
|
|||||||
|
|
||||||
if ENV["RUN_SYSTEM_TESTS"]
|
if ENV["RUN_SYSTEM_TESTS"]
|
||||||
@good &&= run_or_fail("bin/ember-cli --build")
|
@good &&= run_or_fail("bin/ember-cli --build")
|
||||||
@good &&= run_or_fail("bundle exec rspec spec/system")
|
@good &&= run_or_fail("timeout --verbose 1200 bundle exec rspec spec/system")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -228,7 +228,10 @@ task "docker:test" do
|
|||||||
end
|
end
|
||||||
|
|
||||||
if ENV["RUN_SYSTEM_TESTS"]
|
if ENV["RUN_SYSTEM_TESTS"]
|
||||||
@good &&= run_or_fail("LOAD_PLUGINS=1 bundle exec rspec plugins/*/spec/system".strip)
|
@good &&=
|
||||||
|
run_or_fail(
|
||||||
|
"LOAD_PLUGINS=1 timeout --verbose 1200 bundle exec rspec plugins/*/spec/system".strip,
|
||||||
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user