Lower correlation threshold in flush-finish tests
authorPyry Haulos <phaulos@google.com>
Fri, 10 Jul 2015 21:15:04 +0000 (14:15 -0700)
committerPyry Haulos <phaulos@google.com>
Fri, 10 Jul 2015 21:15:04 +0000 (14:15 -0700)
This is low-risk fix for flakiness on some platforms. Long-term solution
would be to improve calibration.

Bug: 22301848
Change-Id: I028c2526d8e99fa3b333574bcb1786e9e2ee31a8

modules/gles3/functional/es3fFlushFinishTests.cpp

index 5ee2d26..b8054d1 100644 (file)
@@ -76,7 +76,7 @@ DE_STATIC_ASSERT(MAX_SAMPLE_DURATION_US < 1000*WAIT_TIME_MS);
 
 const float            NO_CORR_COEF_THRESHOLD          = 0.1f;
 const float            FLUSH_COEF_THRESHOLD            = 0.2f;
-const float            CORRELATED_COEF_THRESHOLD       = 0.5f;
+const float            CORRELATED_COEF_THRESHOLD       = 0.3f;
 
 static void busyWait (int milliseconds)
 {