From c8af16138c38269af842853907bd09ea181e227d Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Tue, 28 Apr 2026 03:22:29 -0500 Subject: [PATCH 1/2] Increase `sleep` duration for flaky test Co-authored-by: Copilot --- test/newtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/newtests.jl b/test/newtests.jl index b92e9ea..4868965 100644 --- a/test/newtests.jl +++ b/test/newtests.jl @@ -20,7 +20,7 @@ end @test get_gtk_property(frame, :ratio, Float32) == 1.0 zr[] = (1:20, 9:10) @test zr[].currentview.x == 9..10 - sleep(0.5) # allow the Gtk event loop to run + sleep(1.0) # allow the Gtk event loop to run (macOS is particularly sensitive to this) @test get_gtk_property(frame, :ratio, Float32) ≈ 0.1 zr[] = (9:10, 1:20) sleep(0.5) From c14e8c9fd8b52ae87548dfdd76a8b1d9efdf6b14 Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Tue, 28 Apr 2026 03:41:04 -0500 Subject: [PATCH 2/2] even more sleep --- test/newtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/newtests.jl b/test/newtests.jl index 4868965..659751b 100644 --- a/test/newtests.jl +++ b/test/newtests.jl @@ -20,7 +20,7 @@ end @test get_gtk_property(frame, :ratio, Float32) == 1.0 zr[] = (1:20, 9:10) @test zr[].currentview.x == 9..10 - sleep(1.0) # allow the Gtk event loop to run (macOS is particularly sensitive to this) + sleep(2.0) # allow the Gtk event loop to run (macOS is particularly sensitive to this) @test get_gtk_property(frame, :ratio, Float32) ≈ 0.1 zr[] = (9:10, 1:20) sleep(0.5)