Fixes tray_session_length_limit_unittest timeout on valgrind.
According to test runs on my machine, the test looks like suspended after the test body finished, which seems to be waiting for remaining timer tests. ClearSessionLengthLimit() should be called at the end. This also has cosmetic changes like NULL -> nullptr BUG=454601 R=stevenjb@chromium.org TEST=build with build_for_tool=memcheck, run ash_unittests with valgrind, and confirmed the test finishes in realistic time Review URL: https://codereview.chromium.org/895863002 Cr-Commit-Position: refs/heads/master@{#314386}
Showing
Please register or sign in to comment