]> granicus.if.org Git - libvpx/commitdiff
Adjust threshold for datarate frame drop test.
authorMarco <marpan@google.com>
Tue, 3 Nov 2015 16:15:04 +0000 (08:15 -0800)
committerMarco <marpan@google.com>
Tue, 3 Nov 2015 16:17:21 +0000 (08:17 -0800)
Current threshold is little too strict.

Change-Id: I99ec1409d095e0c2fd3b7ab398742cabcc05700b

test/datarate_test.cc

index b6cae790398274365201de321cb2547f134fb09f..7d8a0ab73a2f0afb6f6a62fdcb2421da7fd5ba56 100644 (file)
@@ -538,7 +538,7 @@ TEST_P(DatarateTestVP9Large, ChangingDropFrameThresh) {
         << " The first dropped frame for drop_thresh " << i
         << " > first dropped frame for drop_thresh "
         << i - kDropFrameThreshTestStep;
-    ASSERT_GE(num_drops_, last_num_drops * 0.90)
+    ASSERT_GE(num_drops_, last_num_drops * 0.85)
         << " The number of dropped frames for drop_thresh " << i
         << " < number of dropped frames for drop_thresh "
         << i - kDropFrameThreshTestStep;