Skip to content

Commit

Permalink
update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
reyang committed Sep 20, 2021
1 parent 0fadd33 commit a5a19d7
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions test/OpenTelemetry.Tests/Trace/CompositeActivityProcessorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,8 @@ public void CompositeActivityProcessor_ForceFlush(int timeout)
{
processor.ForceFlush(timeout);

if (timeout != 0)
{
Assert.True(p1.ForceFlushCalled);
Assert.True(p2.ForceFlushCalled);
}
else
{
Assert.False(p1.ForceFlushCalled);
Assert.False(p2.ForceFlushCalled);
}
Assert.True(p1.ForceFlushCalled);
Assert.True(p2.ForceFlushCalled);
}
}
}
Expand Down

0 comments on commit a5a19d7

Please sign in to comment.