Skip to content

Commit

Permalink
TEST/UCT: Reduce valgrind testing time
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankochin committed Jan 4, 2024
1 parent 9622c19 commit 5ac9620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/gtest/uct/test_p2p_mix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ void uct_p2p_mix_test::run(unsigned count, size_t offset, size_t size_cap)

size_t uct_p2p_mix_test::max_buffer_size() const
{
if (has_mm() || has_transport("self")) {
if (RUNNING_ON_VALGRIND || has_mm() || has_transport("self")) {
/* Reduce testing time */
return UCS_MBYTE;
return UCS_KBYTE;
}
return UCS_GBYTE;
}
Expand Down

0 comments on commit 5ac9620

Please sign in to comment.