From: Marco Date: Tue, 3 Nov 2015 16:15:04 +0000 (-0800) Subject: Adjust threshold for datarate frame drop test. X-Git-Tag: v1.6.0~587^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb7b2a4f4badf167a1bba8319efd6d899620208a;p=libvpx Adjust threshold for datarate frame drop test. Current threshold is little too strict. Change-Id: I99ec1409d095e0c2fd3b7ab398742cabcc05700b --- diff --git a/test/datarate_test.cc b/test/datarate_test.cc index b6cae7903..7d8a0ab73 100644 --- a/test/datarate_test.cc +++ b/test/datarate_test.cc @@ -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;