Skip to content

Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit

test(app): serialize the template cleanup suite

raymondchins7a6eb6e9739f
diff --git a/app/Tests/BridgeplayAppTests/TemplateCleanupTests.swift b/app/Tests/BridgeplayAppTests/TemplateCleanupTests.swift
index 33f3c8a..38bb330 100644
--- a/app/Tests/BridgeplayAppTests/TemplateCleanupTests.swift
+++ b/app/Tests/BridgeplayAppTests/TemplateCleanupTests.swift
@@ -4,7 +4,9 @@ import Testing
@testable import BridgeplayApp
-@Suite("Prefix template cleanup")
+// refreshRunnerStorage takes the real installation lock with try?, so two of these at once
+// skip each other's cleanup.
+@Suite("Prefix template cleanup", .serialized)
struct TemplateCleanupTests {
private struct Layout {
let root: URL