From 97c6c9550b522edb3eaa1875fe6d6c46aa105f1d Mon Sep 17 00:00:00 2001 From: Steven Pisarski Date: Thu, 1 Feb 2018 14:33:22 +0000 Subject: Update git submodules * Update docs/submodules/snaps from branch 'master' - Merge "openstack: nova_utils_tests: Use API timeout argument instead of sleep()" - openstack: nova_utils_tests: Use API timeout argument instead of sleep() On slow environments, time.sleep(10) is not enough for attach/detach API calls to propage properly leading to failures like the following one (reduced api_check test) 2018-01-31 18:53:19,297 - functest.ci.run_tests - INFO - Running test case 'api_check'... 2018-01-31 18:54:27,434 - functest.ci.run_tests - INFO - Test result: +-------------------+------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-------------------+------------------+------------------+----------------+ | api_check | functest | 01:07 | FAIL | +-------------------+------------------+------------------+----------------+ We can workaround this by using the nova_utils.{de,at}tach_volume} 'timeout' argument to wait up to 2 minutes for the attach/detach call to complete. This doesn't affect normal exception whilst it helps get the test going on slow systems. WIth this change, the api_check (reduced test) passes as follows: 2018-01-31 18:48:35,469 - functest.ci.run_tests - INFO - Running test case 'api_check'... 2018-01-31 18:50:56,705 - functest.ci.run_tests - INFO - Test result: +-------------------+------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-------------------+------------------+------------------+----------------+ | api_check | functest | 02:20 | PASS | +-------------------+------------------+------------------+----------------+ Change-Id: I2245adb84d0e6d4e3350d17d0c2e44baf5202d51 Signed-off-by: Markos Chandras --- docs/submodules/snaps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/submodules/snaps b/docs/submodules/snaps index f6e61167b..9cf59ae0a 160000 --- a/docs/submodules/snaps +++ b/docs/submodules/snaps @@ -1 +1 @@ -Subproject commit f6e61167b445bfd965feca5a9dee626e3735837d +Subproject commit 9cf59ae0a133b0c8ab3907c84ec3c7b962df599a -- cgit 1.2.3-korg