summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--remoting/host/chromoting_host_unittest.cc3
-rw-r--r--tools/valgrind/gtest_exclude/remoting_unittests.gtest.txt2
2 files changed, 3 insertions, 2 deletions
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
index f47a98c..8864533 100644
--- a/remoting/host/chromoting_host_unittest.cc
+++ b/remoting/host/chromoting_host_unittest.cc
@@ -249,6 +249,7 @@ TEST_F(ChromotingHostTest, Reconnect) {
// connection.
{
InSequence s;
+ // Ensure that curtain mode is activated before the first video packet.
EXPECT_CALL(*curtain_, EnableCurtainMode(true))
.Times(1);
EXPECT_CALL(video_stub_, ProcessVideoPacket(_, _))
@@ -261,6 +262,8 @@ TEST_F(ChromotingHostTest, Reconnect) {
.Times(AnyNumber());
EXPECT_CALL(*curtain_, EnableCurtainMode(false))
.Times(1);
+ EXPECT_CALL(video_stub_, ProcessVideoPacket(_, _))
+ .Times(AnyNumber());
}
// If Disconnect() is called we can break the main message loop.
diff --git a/tools/valgrind/gtest_exclude/remoting_unittests.gtest.txt b/tools/valgrind/gtest_exclude/remoting_unittests.gtest.txt
deleted file mode 100644
index 21c1c18..0000000
--- a/tools/valgrind/gtest_exclude/remoting_unittests.gtest.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Fails, http://crbug.com/77909
-ChromotingHostTest.Reconnect