Skip to content

Commit

Permalink
[eclipse-iceoryx#51] Reduce max system limits in test
Browse files Browse the repository at this point in the history
  • Loading branch information
elfenpiff committed Dec 20, 2023
1 parent 240825f commit d25137e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions iceoryx2/tests/service_publish_subscribe_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Sut>(
Expand Down Expand Up @@ -929,11 +929,11 @@ mod service_publish_subscribe {

#[test]
fn publisher_never_goes_out_of_memory_with_huge_values<Sut: Service>() {
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::<Sut>(
BUFFER_SIZE,
Expand Down

0 comments on commit d25137e

Please sign in to comment.