Skip to content

Commit 84edb9d

Browse files
committed
additional clean up
1 parent 0337934 commit 84edb9d

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

generator/integration_tests/tests/golden_kitchen_sink_tracing_connection_test.cc

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -375,18 +375,6 @@ TEST(MakeGoldenKitchenSinkTracingConnection, TracingDisabled) {
375375
EXPECT_THAT(spans, IsEmpty());
376376
}
377377

378-
#else
379-
380-
TEST(MakeGoldenKitchenSinkTracingConnection, NoOpenTelemetry) {
381-
auto mock = std::make_shared<MockGoldenKitchenSinkConnection>();
382-
EXPECT_CALL(*mock, DoNothing)
383-
.WillOnce(Return(internal::AbortedError("fail")));
384-
385-
auto under_test = MakeGoldenKitchenSinkTracingConnection(mock);
386-
auto result = under_test->DoNothing({});
387-
EXPECT_THAT(result, StatusIs(StatusCode::kAborted));
388-
}
389-
390378
} // namespace
391379
GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
392380
} // namespace golden_v1_internal

0 commit comments

Comments
 (0)