Skip to content

Commit 8ae9b72

Browse files
committed
fix ub in test
1 parent 305ca8f commit 8ae9b72

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

google/cloud/bigtable/tests/data_integration_test.cc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -592,11 +592,12 @@ TEST(ConnectionRefresh, Disabled) {
592592
}
593593

594594
TEST(ConnectionRefresh, Frequent) {
595-
auto data_client =
596-
bigtable::MakeDataClient(testing::TableTestEnvironment::project_id(),
597-
testing::TableTestEnvironment::instance_id(),
598-
Options{}.set<MaxConnectionRefreshOption>(
599-
std::chrono::milliseconds(100)));
595+
auto data_client = bigtable::MakeDataClient(
596+
testing::TableTestEnvironment::project_id(),
597+
testing::TableTestEnvironment::instance_id(),
598+
Options{}
599+
.set<MaxConnectionRefreshOption>(std::chrono::milliseconds(100))
600+
.set<MinConnectionRefreshOption>(std::chrono::milliseconds(100)));
600601

601602
for (;;) {
602603
if (data_client->Channel()->GetState(false) == GRPC_CHANNEL_READY) {

0 commit comments

Comments
 (0)