Commit 536ebf4d by Ian Ewell

Increase the timeout on Timer queries tests.

On Mac, the timer queries tests have flakiness as the tests may timeout before the query result is available. The time to wait before throwing a timeout error in the tests was therefore increased by a factor of 20. BUG=585498 Change-Id: I55047ee7759e6d2dde69294df451202dfb498034 Reviewed-on: https://chromium-review.googlesource.com/327031 Commit-Queue: Ian Ewell <ewell@google.com> Reviewed-by: 's avatarIan Ewell <ewell@google.com>
parent 292f005f
...@@ -126,7 +126,7 @@ TEST_P(TimerQueriesTest, TimeElapsed) ...@@ -126,7 +126,7 @@ TEST_P(TimerQueriesTest, TimeElapsed)
swapBuffers(); swapBuffers();
int timeout = 10000; int timeout = 200000;
GLuint ready = GL_FALSE; GLuint ready = GL_FALSE;
while (ready == GL_FALSE && timeout > 0) while (ready == GL_FALSE && timeout > 0)
{ {
...@@ -498,7 +498,7 @@ TEST_P(TimerQueriesTest, Timestamp) ...@@ -498,7 +498,7 @@ TEST_P(TimerQueriesTest, Timestamp)
swapBuffers(); swapBuffers();
int timeout = 10000; int timeout = 200000;
GLuint ready = GL_FALSE; GLuint ready = GL_FALSE;
while (ready == GL_FALSE && timeout > 0) while (ready == GL_FALSE && timeout > 0)
{ {
......
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