From cb9f499a6d027cf33cabda09ddffc6cfb59a5581 Mon Sep 17 00:00:00 2001 From: Scott Hart Date: Tue, 14 Jul 2026 16:36:52 -0400 Subject: [PATCH 1/2] impl(bigtable): disable unrelated log messages in TableApplyWithLogging test --- google/cloud/bigtable/tests/data_integration_test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/google/cloud/bigtable/tests/data_integration_test.cc b/google/cloud/bigtable/tests/data_integration_test.cc index c190e58b20224..52fee64650926 100644 --- a/google/cloud/bigtable/tests/data_integration_test.cc +++ b/google/cloud/bigtable/tests/data_integration_test.cc @@ -578,8 +578,9 @@ TEST_F(DataIntegrationTest, TableApplyWithLogging) { auto const table_id = testing::TableTestEnvironment::table_id(); // Make a `Table` with an implementation that depends on the test's value - // parameter. - auto make_table = [&](Options const& options) { + // parameter. Disable metrics to avoid log pollution. + auto make_table = [&](Options options) { + options.set(false); auto conn = MakeDataConnection( {InstanceResource(Project(project_id()), instance_id())}, options); return Table(std::move(conn), From 129e375b37ba397345782cede036a69d4a27e205 Mon Sep 17 00:00:00 2001 From: Scott Hart Date: Tue, 14 Jul 2026 16:40:35 -0400 Subject: [PATCH 2/2] move the options --- google/cloud/bigtable/tests/data_integration_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/google/cloud/bigtable/tests/data_integration_test.cc b/google/cloud/bigtable/tests/data_integration_test.cc index 52fee64650926..3e7c1a472ed92 100644 --- a/google/cloud/bigtable/tests/data_integration_test.cc +++ b/google/cloud/bigtable/tests/data_integration_test.cc @@ -582,7 +582,8 @@ TEST_F(DataIntegrationTest, TableApplyWithLogging) { auto make_table = [&](Options options) { options.set(false); auto conn = MakeDataConnection( - {InstanceResource(Project(project_id()), instance_id())}, options); + {InstanceResource(Project(project_id()), instance_id())}, + std::move(options)); return Table(std::move(conn), TableResource(project_id(), instance_id(), table_id)); };