[Nearby Connections] Extend timeout waiting for StopAllEndpoints to finish.

PiperOrigin-RevId: 479608809
This commit is contained in:
Pu Shi
2022-10-07 10:04:54 -07:00
committed by Copybara-Service
parent a3f5d108f5
commit ab80dbc2a3
+2 -1
View File
@@ -31,7 +31,8 @@ namespace connections {
namespace {
constexpr absl::Duration kWaitForDisconnect = absl::Milliseconds(5000);
// Timeout for ServiceControllerRouter to run StopAllEndpoints.
constexpr absl::Duration kWaitForDisconnect = absl::Milliseconds(10000);
// Verify that |service_id| is not empty and will not conflict with any internal
// service ID formats.