Skip to content

Commit

Permalink
Ensure watcher is properly terminated in integration test
Browse files Browse the repository at this point in the history
This fixes a bug where the terminal would sometimes get stuck in raw
mode after running the mt integration tests.
  • Loading branch information
mattbrictson committed Feb 22, 2024
1 parent 7648dc1 commit 9924cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/mt_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_mt_runs_watch_mode_that_executes_tests_when_files_change
sleep 1

# OK, we're done here. Tell mt --watch to exit.
Process.kill(:INT, pid)
Process.kill(:TERM, pid)
end

assert_includes(stdout, "Watching for changes to source and test files.")
Expand Down

0 comments on commit 9924cef

Please sign in to comment.