From 9cab73b4569ac58d675a3dccf88803d4acdc1bbd Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Thu, 2 Oct 2025 00:19:35 +0000 Subject: [PATCH] [testing] Lower FPS assertion in hello_world_gles.c This test seems to flake a lot from this assertion. The fps on my machine often is only 20 fps, so I think when there are multiple browsers running the fps will be pretty low. --- test/hello_world_gles.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/hello_world_gles.c b/test/hello_world_gles.c index f67729803b01d..2c5d37d26ae45 100644 --- a/test/hello_world_gles.c +++ b/test/hello_world_gles.c @@ -648,7 +648,9 @@ gears_idle(void) runs++; if (runs == 4) { int result = fps; - assert(fps >= 15 && fps <= 500); + // The test may be run with many browsers in parallel so we accept a + // very low FPS. + assert(fps >= 1 && fps <= 500); #ifdef REPORT_RESULT REPORT_RESULT(0); #endif