Skip to content

Commit

Permalink
Enabling instrumented allocators (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
MushMal authored May 5, 2020
1 parent 10b2d49 commit d9262e2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tst/WebRTCClientTestFixture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ void WebRtcClientTestBase::SetUp()
mExpectedFrameCount = 0;
mExpectedDroppedFrameCount = 0;

/* Disable instrumented allocator for now due to inconsistent behavior.
* Sometimes it report leaks but running the same test again it doesnt report leak again. */
/* SET_INSTRUMENTED_ALLOCATORS(); */
SET_INSTRUMENTED_ALLOCATORS();

SET_LOGGER_LOG_LEVEL(LOG_LEVEL_DEBUG);

Expand Down Expand Up @@ -91,9 +89,7 @@ void WebRtcClientTestBase::TearDown()

freeStaticCredentialProvider(&mTestCredentialProvider);

/* Disable instrumented allocator for now due to inconsistent behavior.
* Sometimes it report leaks but running the same test again it doesnt report leak again. */
/* EXPECT_EQ(STATUS_SUCCESS, RESET_INSTRUMENTED_ALLOCATORS()); */
EXPECT_EQ(STATUS_SUCCESS, RESET_INSTRUMENTED_ALLOCATORS());
}

VOID WebRtcClientTestBase::initializeJitterBuffer(UINT32 expectedFrameCount, UINT32 expectedDroppedFrameCount, UINT32 rtpPacketCount)
Expand Down

0 comments on commit d9262e2

Please sign in to comment.