Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ppapi / tests / test_view.cc
index 29ab1a6..d141c05 100644 (file)
 REGISTER_TEST_CASE(View);
 
 // When waiting for view changed events, wait no longer than this.
+#if !defined(THREAD_SANITIZER)
 static int kViewChangeTimeoutSec = 5;
+#else
+// ThreadSanitizer may slow the interaction down significantly.
+static int kViewChangeTimeoutSec = 30;
+#endif
 
 TestView::TestView(TestingInstance* instance)
     : TestCase(instance),