Skip to content

Commit

Permalink
chore(userspace/libsinsp/test): reduce duration of mpsc queue test
Browse files Browse the repository at this point in the history
This will hopefully accomodate the Windows runners of our CI,
which seem to produce ~64 elements per second :/

Signed-off-by: Jason Dellaluce <[email protected]>
  • Loading branch information
jasondellaluce authored and poiana committed Feb 1, 2024
1 parent 171a735 commit 6602651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userspace/libsinsp/test/mpsc_priority_queue.ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ TEST(mpsc_priority_queue, single_concurrent_producer)
TEST(mpsc_priority_queue, multi_concurrent_producers)
{
using val_t = std::unique_ptr<int>;
const constexpr int64_t timeout_secs = 10;
const constexpr int num_values = 1000;
const constexpr int64_t timeout_secs = 30;
const constexpr int num_values = 100;
const constexpr int num_producers = 10;
const constexpr int num_total_elems = num_values * num_producers;

Expand Down

0 comments on commit 6602651

Please sign in to comment.