From 7756941f3992b3b7b6430531ac123ddb02015633 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Sat, 30 May 2026 13:12:31 -0700 Subject: [PATCH] main_test: skip flaky goroutines test on threaded schedulers --- main_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main_test.go b/main_test.go index e686cc8de..4b354ef4c 100644 --- a/main_test.go +++ b/main_test.go @@ -280,6 +280,11 @@ func runPlatTests(options compileopts.Options, tests []string, t *testing.T) { } for _, name := range tests { + if name == "goroutines.go" && (spec.Scheduler == "threads" || spec.Scheduler == "cores") { + // This test intentionally checks concurrent scheduling by comparing + // output order, so only run it with non-threaded schedulers. + continue + } if options.GOOS == "linux" && (options.GOARCH == "arm" || options.GOARCH == "386") { switch name { case "timers.go":