(Auto)update libjingle 62948689-> 63019975

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5689 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrike@webrtc.org
2014-03-12 19:53:43 +00:00
parent 9269ba14f0
commit c7bec8484b
2 changed files with 10 additions and 14 deletions

View File

@@ -386,8 +386,8 @@ TEST(CpuMonitorTest, TestCpuMonitor) {
CpuLoadListener listener;
monitor.SignalUpdate.connect(&listener, &CpuLoadListener::OnCpuLoad);
EXPECT_TRUE(monitor.Start(10));
Thread::Current()->ProcessMessages(50);
EXPECT_GT(listener.count(), 2); // We have checked cpu load more than twice.
// We have checked cpu load more than twice.
EXPECT_TRUE_WAIT(listener.count() > 2, 1000);
EXPECT_GT(listener.current_cpus(), 0);
EXPECT_GT(listener.cpus(), 0);
EXPECT_GE(listener.process_load(), .0f);