Ensure test cleanup happens after each test

This commit is contained in:
E M 2026-04-29 21:27:29 +10:00 committed by Giuliano Mega
parent 27df5b3d95
commit e9faf9bbfa

View File

@ -209,7 +209,7 @@ namespace DistTestCore
private bool ShouldWaitForCleanup()
{
return CurrentTestMethodHasAttribute<WaitForCleanupAttribute>();
return IsRunningInCluster() || CurrentTestMethodHasAttribute<WaitForCleanupAttribute>();
}
private bool ShouldUseLongTimeouts()