diff mbox series

[kvm-unit-tests] x86: Increase timeout for vmx_vmcs_shadow_test

Message ID 20211213195912.447258-1-dmatlack@google.com (mailing list archive)
State New, archived
Headers show
Series [kvm-unit-tests] x86: Increase timeout for vmx_vmcs_shadow_test | expand

Commit Message

David Matlack Dec. 13, 2021, 7:59 p.m. UTC
When testing with debug kernels (e.g. CONFIG_DEBUG_VM)
vmx_vmcs_shadow_test exceeds the default 90s timeout. The test ends up
taking about 120s to complete (on a barmetal host), so increase the
timeout to 180s.

Signed-off-by: David Matlack <dmatlack@google.com>
---
 x86/unittests.cfg | 1 +
 1 file changed, 1 insertion(+)


base-commit: 0c111b370ad3c5a89e11caee79bc93a66fd004f2

Comments

Paolo Bonzini Dec. 14, 2021, 12:08 p.m. UTC | #1
On 12/13/21 20:59, David Matlack wrote:
> When testing with debug kernels (e.g. CONFIG_DEBUG_VM)
> vmx_vmcs_shadow_test exceeds the default 90s timeout. The test ends up
> taking about 120s to complete (on a barmetal host), so increase the
> timeout to 180s.
> 
> Signed-off-by: David Matlack <dmatlack@google.com>
> ---
>   x86/unittests.cfg | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/x86/unittests.cfg b/x86/unittests.cfg
> index 3000e53c790f..133a2a1501dd 100644
> --- a/x86/unittests.cfg
> +++ b/x86/unittests.cfg
> @@ -346,6 +346,7 @@ file = vmx.flat
>   extra_params = -cpu max,+vmx -append vmx_vmcs_shadow_test
>   arch = x86_64
>   groups = vmx
> +timeout = 180
>   
>   [debug]
>   file = debug.flat
> 
> base-commit: 0c111b370ad3c5a89e11caee79bc93a66fd004f2
> 

Applied, thanks.

Paolo
diff mbox series

Patch

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index 3000e53c790f..133a2a1501dd 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -346,6 +346,7 @@  file = vmx.flat
 extra_params = -cpu max,+vmx -append vmx_vmcs_shadow_test
 arch = x86_64
 groups = vmx
+timeout = 180
 
 [debug]
 file = debug.flat