Add more time buffer so that the alarm will be executed as expected in tests. It will fix the flaky EndpointIdRotateWhenHighVizAdvertisementAgainForAWhile test.

PiperOrigin-RevId: 399248463
This commit is contained in:
hais
2021-09-27 12:08:47 -07:00
committed by Copybara-Service
parent 7e99f545e3
commit e52b7e1edd
+1 -1
View File
@@ -530,7 +530,7 @@ TEST_F(ClientProxyTest,
// Wait to expire and then advertise.
absl::SleepFor(ClientProxy::kHighPowerAdvertisementEndpointIdCacheTimeout +
absl::Milliseconds(10));
absl::Milliseconds(100));
Endpoint advertising_endpoint_2 = StartAdvertising(
&client1_, advertising_connection_listener_, advertising_options);