Ensure test cleanup happens after each test

This commit is contained in:
E M
2026-04-29 21:27:29 +10:00
parent b8f9cb7297
commit 2de4e77a85
+1 -1
View File
@@ -209,7 +209,7 @@ namespace DistTestCore
private bool ShouldWaitForCleanup()
{
return CurrentTestMethodHasAttribute<WaitForCleanupAttribute>();
return IsRunningInCluster() || CurrentTestMethodHasAttribute<WaitForCleanupAttribute>();
}
private bool ShouldUseLongTimeouts()