File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
tests/std/tests/VSO_0226079_mutex Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,8 @@ struct mutex_test_fixture {
313
313
assert (ul.owns_lock ());
314
314
}) < 1h);
315
315
316
- // Test failing to acquire locks on timeout
316
+ #if 0 // TRANSITION, GH-1472
317
+ // Test failing to acquire locks on timeout
317
318
ot.lock();
318
319
assert(time_execution([this] { assert(!mtx.try_lock_for(50ms)); }) >= 50ms);
319
320
assert(time_execution([this] { assert(!mtx.try_lock_until(system_clock::now() + 50ms)); }) >= 50ms);
@@ -334,6 +335,7 @@ struct mutex_test_fixture {
334
335
assert(!ul.owns_lock());
335
336
}) >= 50ms);
336
337
ot.unlock();
338
+ #endif // TRANSITION, GH-1472
337
339
}
338
340
339
341
// nonstandard xtime type
@@ -365,6 +367,7 @@ struct mutex_test_fixture {
365
367
assert (ul.try_lock_until (&xt));
366
368
}) < 1h);
367
369
370
+ #if 0 // TRANSITION, GH-1472
368
371
ot.lock();
369
372
assert(time_execution([this] {
370
373
const auto xt = to_xtime(50ms);
@@ -376,6 +379,7 @@ struct mutex_test_fixture {
376
379
assert(!ul.try_lock_until(&xt));
377
380
}) >= 50ms);
378
381
ot.unlock();
382
+ #endif // TRANSITION, GH-1472
379
383
}
380
384
381
385
void test_recursive_lockable () {
You can’t perform that action at this time.
0 commit comments