Skip to content

Commit 9200778

Browse files
committed
add comment
1 parent 0d89163 commit 9200778

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

phd-tests/runner/src/execute.rs

+2
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ pub async fn run_tests_with_ctx(
103103
let mut sigint_rx_task = sigint_rx.clone();
104104
let test_outcome = match tokio::spawn(async move {
105105
tokio::select! {
106+
// Ensure interrupt signals are always handled instead of
107+
// continuing to run the test.
106108
biased;
107109
result = sigint_rx_task.changed() => {
108110
assert!(

0 commit comments

Comments
 (0)