Skip to content

Commit

Permalink
resolving issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianlin-Zhao committed Aug 13, 2020
1 parent 3fa337a commit f31f9fa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions api/test/trace/noop_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ using opentelemetry::trace::Tracer;

// Note: This test is no longer valid as Span no longer has field of tracer. Whether
// removing it depends on the creator of this file.
// TEST(NoopTest, UseNoopTracers)
//{

TEST(NoopTest, DISABLE_UseNoopTracers)
{
// std::shared_ptr<Tracer> tracer{new NoopTracer{}};
// auto s1 = tracer->StartSpan("abc");
// EXPECT_EQ(&s1->tracer(), tracer.get());
Expand All @@ -30,4 +29,4 @@ using opentelemetry::trace::Tracer;
// s1->AddEvent("abc", attributes3);
//
// s1->SetAttribute("abc", 4);
// }
}

0 comments on commit f31f9fa

Please sign in to comment.