Skip to content

Commit

Permalink
fix ub in test
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolduc committed Aug 27, 2021
1 parent 305ca8f commit 8ae9b72
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions google/cloud/bigtable/tests/data_integration_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -592,11 +592,12 @@ TEST(ConnectionRefresh, Disabled) {
}

TEST(ConnectionRefresh, Frequent) {
auto data_client =
bigtable::MakeDataClient(testing::TableTestEnvironment::project_id(),
testing::TableTestEnvironment::instance_id(),
Options{}.set<MaxConnectionRefreshOption>(
std::chrono::milliseconds(100)));
auto data_client = bigtable::MakeDataClient(
testing::TableTestEnvironment::project_id(),
testing::TableTestEnvironment::instance_id(),
Options{}
.set<MaxConnectionRefreshOption>(std::chrono::milliseconds(100))
.set<MinConnectionRefreshOption>(std::chrono::milliseconds(100)));

for (;;) {
if (data_client->Channel()->GetState(false) == GRPC_CHANNEL_READY) {
Expand Down

0 comments on commit 8ae9b72

Please sign in to comment.