From eecb8bfe148cec0bd0afb471b7723fc5c57de4d8 Mon Sep 17 00:00:00 2001 From: Timur Sufiev Date: Tue, 14 Jun 2016 13:47:20 +0300 Subject: [PATCH] Change default timeouts in integration tests First, increase page_timeout to one minute, which should help in case of a first couple of tests waiting for Apache workers to "warm up". Second, reduce explicit_wait to 90 seconds (from 5 minutes), because if something in Horizon doesn't complete in 90 seconds, then almost for sure it won't complete in 5 minutes as well and only will spend time, which is limited for integration tests. Change-Id: Icb0767146fdb2682dca237ee18bbc4c3c8d976d0 Closes-Bug: #1592349 --- openstack_dashboard/test/integration_tests/horizon.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openstack_dashboard/test/integration_tests/horizon.conf b/openstack_dashboard/test/integration_tests/horizon.conf index 85dc419ee4..31ccc705f4 100644 --- a/openstack_dashboard/test/integration_tests/horizon.conf +++ b/openstack_dashboard/test/integration_tests/horizon.conf @@ -12,7 +12,7 @@ help_url=http://docs.openstack.org/ [selenium] # Timeout in seconds to wait for a page to become available # (integer value) -page_timeout=30 +page_timeout=60 # Output directory for screenshots. # (string value) @@ -27,7 +27,7 @@ implicit_wait=10 # methods using explicit timeout are usually prefixed with 'wait', # those methods ignore implicit_wait when looking up web elements. # (integer value) -explicit_wait=300 +explicit_wait=90 # Maximize the browser window at the start of each test? # (boolean)