mix test.cleanup (ex_mcp v0.10.0)

View Source

Cleans up stray processes and ports left over from crashed tests.

This task will:

  • Stop any Cowboy listeners from tests
  • Kill registered test processes
  • Free up ports commonly used by tests
  • Clean up stray beam.smp processes

Usage

mix test.cleanup

Options

  • --verbose - Show detailed output of what's being cleaned up
  • --dry-run - Show what would be cleaned up without actually doing it