From d25137e10d37d016297573a6445a24e231505874 Mon Sep 17 00:00:00 2001 From: Christian Eltzschig Date: Wed, 20 Dec 2023 12:21:30 +0100 Subject: [PATCH] [#51] Reduce max system limits in test --- iceoryx2/tests/service_publish_subscribe_tests.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/iceoryx2/tests/service_publish_subscribe_tests.rs b/iceoryx2/tests/service_publish_subscribe_tests.rs index 0392644fd..f235e7cbd 100644 --- a/iceoryx2/tests/service_publish_subscribe_tests.rs +++ b/iceoryx2/tests/service_publish_subscribe_tests.rs @@ -864,7 +864,7 @@ mod service_publish_subscribe { const BUFFER_SIZE: usize = 1; const HISTORY_SIZE: usize = 0; const MAX_BORROW: usize = 1; - const MAX_SUBSCRIBERS: usize = 100; + const MAX_SUBSCRIBERS: usize = 50; const MAX_LOAN: usize = 1; publisher_never_goes_out_of_memory_impl::( @@ -929,11 +929,11 @@ mod service_publish_subscribe { #[test] fn publisher_never_goes_out_of_memory_with_huge_values() { - const BUFFER_SIZE: usize = 129; - const HISTORY_SIZE: usize = 131; - const MAX_BORROW: usize = 112; - const MAX_SUBSCRIBERS: usize = 123; - const MAX_LOAN: usize = 135; + const BUFFER_SIZE: usize = 29; + const HISTORY_SIZE: usize = 31; + const MAX_BORROW: usize = 12; + const MAX_SUBSCRIBERS: usize = 25; + const MAX_LOAN: usize = 35; publisher_never_goes_out_of_memory_impl::( BUFFER_SIZE,