Skip to content

Commit

Permalink
test: Pull selenium images if they aren't already
Browse files Browse the repository at this point in the history
  • Loading branch information
petervo committed Aug 23, 2017
1 parent 9605055 commit 409f32d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/avocado/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ def run_avocado(avocado_tests, verbose, browser, download_logs, sit):
machine.start()
if selenium:
# actually wait here, because starting selenium takes a while
selenium.pull(selenium.image_file)
selenium.start()
selenium.wait_boot()
selenium.set_address("10.111.112.10/20")
Expand All @@ -192,6 +193,7 @@ def run_avocado(avocado_tests, verbose, browser, download_logs, sit):
selenium.execute(command="/root/selenium_start.sh")
elif windows:
selenium = windows
selenium.pull(selenium.image_file)
selenium.start()

machine.wait_boot()
Expand Down

0 comments on commit 409f32d

Please sign in to comment.