Skip to content

Commit de2ac82

Browse files
committed
update bthread_butex_unittest
1 parent 14bcfab commit de2ac82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/bthread_butex_unittest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void* joiner(void* arg) {
5757
LOG(FATAL) << "fail to join thread_" << th - (bthread_t*)arg;
5858
}
5959
long elp = butil::gettimeofday_us() - t1;
60-
EXPECT_LE(labs(elp - (th - (bthread_t*)arg + 1) * 100000L), 15000L)
60+
EXPECT_LE(labs(elp - (th - (bthread_t*)arg + 1) * 100000L), 20000L)
6161
<< "timeout when joining thread_" << th - (bthread_t*)arg;
6262
LOG(INFO) << "Joined thread " << *th << " at " << elp << "us ["
6363
<< bthread_self() << "]";

0 commit comments

Comments
 (0)