Commit b114a689 authored by Evan Stade's avatar Evan Stade Committed by Commit Bot

Fix flakiness in CrasAudioClientTest

Bug: none
Change-Id: If821edbfc5ea2f222c0a885cbe14d8a48c789d0a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1575868
Auto-Submit: Evan Stade <estade@chromium.org>
Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Commit-Queue: Evan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#652867}
parent b8679aa6
...@@ -365,7 +365,10 @@ class CrasAudioClientTest : public testing::Test { ...@@ -365,7 +365,10 @@ class CrasAudioClientTest : public testing::Test {
base::RunLoop().RunUntilIdle(); base::RunLoop().RunUntilIdle();
} }
void TearDown() override { mock_bus_->ShutdownAndBlock(); } void TearDown() override {
mock_bus_->ShutdownAndBlock();
CrasAudioClient::Shutdown();
}
protected: protected:
// A callback to intercept and check the method call arguments. // A callback to intercept and check the method call arguments.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment