Skip to content

Commit 02fdb8f

Browse files
authored
Merge pull request #10908 from Artemy-Mellanox/topic/rwlock-test
TEST/RWLOCK: Decrease test duration
2 parents b03d005 + cf360d5 commit 02fdb8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/gtest/ucs/test_type.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ UCS_TEST_F(test_rwlock, memory_barriers) {
320320
ucs_rw_spinlock_t lock = UCS_RWLOCK_STATIC_INITIALIZER;
321321
data_t data1 = {0};
322322
data_t data2 = {0};
323-
measure(10000000, threads,
323+
measure(1000000, threads,
324324
[&]() {
325325
ucs_rw_spinlock_read_lock(&lock);
326326
data_t d1 = data1;

0 commit comments

Comments
 (0)