From 8d9accc6f3bc366012880685fc248c6a28a7477a Mon Sep 17 00:00:00 2001 From: Mikkel Hagen Date: Thu, 3 May 2018 11:34:45 -0500 Subject: [PATCH] Add timeouts in case of hung operations --- .../Group5-Functional-Tests/5-25-OPS-User-Grant.robot | 1 + tests/resources/Docker-Util.robot | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/manual-test-cases/Group5-Functional-Tests/5-25-OPS-User-Grant.robot b/tests/manual-test-cases/Group5-Functional-Tests/5-25-OPS-User-Grant.robot index 4bd7806b96..a1abe00ea4 100644 --- a/tests/manual-test-cases/Group5-Functional-Tests/5-25-OPS-User-Grant.robot +++ b/tests/manual-test-cases/Group5-Functional-Tests/5-25-OPS-User-Grant.robot @@ -51,6 +51,7 @@ Ops User Create Log Output, govc role.usage: ${out} Run privilege-dependent docker operations + [Timeout] 15 minutes # Run containers with volumes and container networks to test scenarios requiring containerVMs # to have the highest privileges. ${rc} ${output}= Run And Return Rc And Output docker %{VCH-PARAMS} pull ${busybox} diff --git a/tests/resources/Docker-Util.robot b/tests/resources/Docker-Util.robot index 63cf0012ee..e791d4ff67 100644 --- a/tests/resources/Docker-Util.robot +++ b/tests/resources/Docker-Util.robot @@ -123,6 +123,7 @@ Verify Container Rename Should Contain ${output} ${vmName} Run Regression Tests + [Timeout] 15 minutes ${rc} ${output}= Run And Return Rc And Output docker %{VCH-PARAMS} pull ${busybox} Log ${output} Should Be Equal As Integers ${rc} 0