From 37ce2b327be64266643ce00d222cc361e8cca37f Mon Sep 17 00:00:00 2001 From: Simon Davies Date: Tue, 21 Jan 2025 12:12:43 +0000 Subject: [PATCH] reduce number of threads in simple_test_parallel test function Signed-off-by: Simon Davies --- src/hyperlight_host/tests/sandbox_host_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperlight_host/tests/sandbox_host_tests.rs b/src/hyperlight_host/tests/sandbox_host_tests.rs index e7a330398..cb8452cac 100644 --- a/src/hyperlight_host/tests/sandbox_host_tests.rs +++ b/src/hyperlight_host/tests/sandbox_host_tests.rs @@ -499,7 +499,7 @@ fn simple_test() { #[test] #[cfg(target_os = "linux")] fn simple_test_parallel() { - let handles: Vec<_> = (0..100) + let handles: Vec<_> = (0..50) .map(|_| { std::thread::spawn(|| { simple_test_helper().unwrap();