main_test: skip flaky goroutines test on threaded schedulers

This commit is contained in:
Jake Bailey
2026-05-30 13:12:31 -07:00
committed by Ron Evans
parent 259842dc2e
commit 7756941f39
+5
View File
@@ -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":