aom: rtc: Adjust threshold on datarate test

From f901db8bff8ec2243563e75a1cf4b89171e06c3a Mon Sep 17 00:00:00 2001
From: Marco Paniconi <[EMAIL REDACTED]>
Date: Sat, 24 Aug 2024 07:20:38 -0700
Subject: [PATCH] rtc: Adjust threshold on datarate test

The default values for realtime build
have been modified in:
https://aomedia-review.googlesource.com/c/aom/+/192786

Change in spike datarate thresshold is needed to
fix nightly test failure.

Change-Id: I466fcd90dfc46aa7552dcd811ec5c1b90a642d26
---
 test/datarate_test.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/datarate_test.cc b/test/datarate_test.cc
index a66c90e51..e1d6a1d02 100644
--- a/test/datarate_test.cc
+++ b/test/datarate_test.cc
@@ -110,7 +110,7 @@ class DatarateTestLarge
         << " The datarate for the file is lower than target by too much!";
     ASSERT_LE(effective_datarate_, cfg_.rc_target_bitrate * 1.19)
         << " The datarate for the file is greater than target by too much!";
-    ASSERT_LE(num_spikes_, 8);
+    ASSERT_LE(num_spikes_, 10);
     ASSERT_LT(num_spikes_high_, 1);
   }