Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: components/exo/gamepad_unittest.cc

Issue 2237723002: NOT FOR COMMIT - make crbug.com/630625 reproducible Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/exo/BUILD.gn ('k') | gpu/command_buffer/service/in_process_command_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/gamepad_unittest.cc
diff --git a/components/exo/gamepad_unittest.cc b/components/exo/gamepad_unittest.cc
index 98d3e0245c5cbe4f45dcf869f5a0ff287f4eb471..12ba70e80352e13319faffe9f9fcb8060f617a3e 100644
--- a/components/exo/gamepad_unittest.cc
+++ b/components/exo/gamepad_unittest.cc
@@ -145,6 +145,12 @@ TEST_F(GamepadTest, OnAxis) {
SetDataAndPostToDelegate(axis_moved);
DestroyGamepad(&delegate);
+ usleep(100000);
+ base::MessageLoop::current()->RunUntilIdle();
+ usleep(100000);
+ base::MessageLoop::current()->RunUntilIdle();
+ usleep(100000);
+ base::MessageLoop::current()->RunUntilIdle();
}
TEST_F(GamepadTest, OnButton) {
« no previous file with comments | « components/exo/BUILD.gn ('k') | gpu/command_buffer/service/in_process_command_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698