Refactors lock test cases backoff values
[libcds.git] / test / stress / sequential / sequential-misc / mcslock_driver.cpp
index 576193f542936be1ffecd74b62ac5cfaf590016e..a4a9d1728a131e6a8757f7f66daa8925bd96e83b 100644 (file)
@@ -29,6 +29,8 @@ protected:
 ullong MCSLockTest::x;
 
 TEST_F(MCSLockTest, MCSLock) {
+  cds_others::BackoffTraits::lower_bound = 16;
+  cds_others::BackoffTraits::upper_bound = 1024;
   std::unique_ptr<cds_others::mcs_mutex> my_mutex(new cds_others::mcs_mutex());
   cds_others::mcs_mutex::guard g(my_mutex.get());
   my_mutex->unlock(&g);