Skip to content

Commit 9c04c53

Browse files
authored
[testing] Lower FPS assertion in hello_world_gles.c (#25461)
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 on CI.
1 parent 4666bf7 commit 9c04c53

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/hello_world_gles.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,9 @@ gears_idle(void)
648648
runs++;
649649
if (runs == 4) {
650650
int result = fps;
651-
assert(fps >= 15 && fps <= 500);
651+
// The test may be run with many browsers in parallel so we accept a
652+
// very low FPS.
653+
assert(fps >= 1 && fps <= 500);
652654
#ifdef REPORT_RESULT
653655
REPORT_RESULT(0);
654656
#endif

0 commit comments

Comments
 (0)