// 1. Simulate a bucket deletion.
connMap.shutdownAllConnections();
- EXPECT_EQ(1, notify_count)
+ // Can also get a second notify as part of manageConnections being called
+ // in shutdownAllConnections().
+ EXPECT_GE(notify_count, 1)
<< "expected one notify after shutting down all connections";
// Restore notify_io_complete callback.
// 2. Simulate a bucket deletion.
connMap.shutdownAllConnections();
- EXPECT_EQ(1, notify_count)
+ EXPECT_GE(notify_count, 1)
<< "expected one notify after shutting down all connections";
// Restore notify_io_complete callback.