diff --git a/iocore/cache/test/test_Alternate_S_to_L_remove_L.cc b/iocore/cache/test/test_Alternate_S_to_L_remove_L.cc index 27a5a39335f..f094b05d6e1 100644 --- a/iocore/cache/test/test_Alternate_S_to_L_remove_L.cc +++ b/iocore/cache/test/test_Alternate_S_to_L_remove_L.cc @@ -187,7 +187,7 @@ class CacheAltTest_S_to_L_remove_L : public CacheTestHandler this->_wt = nullptr; // to make sure writer successfully write the final doc done. we need to schedule // to wait for some while. This time should be large than cache_config_mutex_retry_delay - this_ethread()->schedule_in(this->_rt, HRTIME_SECONDS(3)); + this_ethread()->schedule_in(this->_rt, 4 * HRTIME_SECONDS(cache_config_mutex_retry_delay)); break; case CACHE_EVENT_OPEN_READ: base->do_io_read(); diff --git a/iocore/cache/test/test_Alternate_S_to_L_remove_S.cc b/iocore/cache/test/test_Alternate_S_to_L_remove_S.cc index b2d275608ed..36b461bf372 100644 --- a/iocore/cache/test/test_Alternate_S_to_L_remove_S.cc +++ b/iocore/cache/test/test_Alternate_S_to_L_remove_S.cc @@ -185,7 +185,7 @@ class test_Alternate_S_to_L_remove_S : public CacheTestHandler this->_wt = nullptr; // to make sure writer successfully write the final doc done. we need to schedule // to wait for some while. This time should be large than cache_config_mutex_retry_delay - this_ethread()->schedule_in(this->_rt, HRTIME_SECONDS(3)); + this_ethread()->schedule_in(this->_rt, 4 * HRTIME_SECONDS(cache_config_mutex_retry_delay)); break; case CACHE_EVENT_OPEN_READ: base->do_io_read();