Wait 5 more frames in rendering test

When using opengl3 rendering driver on macos, we need to wait a few more
frames in order for the test to pass.
This commit is contained in:
Leroy Hopson 2024-02-24 16:58:43 +13:00
parent 6e74b1508b
commit aa6b447c6c
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA

View file

@ -30,6 +30,6 @@ class TestRendering:
await get_tree().physics_frame await get_tree().physics_frame
terminal.queue_redraw() terminal.queue_redraw()
await wait_for_signal(terminal.draw, 3) await wait_for_signal(terminal.draw, 3)
await wait_frames(10) await wait_frames(15)
var cell_color = pick_cell_color(Vector2i(0, 0)) var cell_color = pick_cell_color(Vector2i(0, 0))
assert_eq(cell_color, Color.RED) assert_eq(cell_color, Color.RED)