Skip to content

Commit

Permalink
chore: update linux smoke tests to only remove networks in debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
tippmar-nr committed Nov 20, 2023
1 parent 9e355f3 commit 2a21889
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,10 @@ private void CleanupContainer()
}
}

#if DEBUG
// Cleanup the networks with no attached containers. Mainly for testings on dev laptops - they can build up and block runs.
Process.Start("docker", "network prune -f");
#endif
}

protected virtual void WaitForAppServerToStartListening(Process process, bool captureStandardOutput)
Expand Down

0 comments on commit 2a21889

Please sign in to comment.