File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 #(throw (ex-info " boom" {}))))
2929 " start! must not raise even when on-exit throws" )))
3030
31- (deftest start-liveness-probe-with-alive-parent-test
32- (when-not h/windows?
31+ ; ; The two deftests below are skipped on Windows: they rely on `sleep` and on
32+ ; ; POSIX-style subprocess semantics that the liveness probe targets. Skipping
33+ ; ; the whole `deftest` (rather than gating only its body) keeps kaocha from
34+ ; ; reporting "Test ran without assertions" on Windows.
35+ (when-not h/windows?
36+ (deftest start-liveness-probe-with-alive-parent-test
3337 (testing " an alive parent does not trigger on-exit"
3438 (let [proc (spawn-blocking-process )
3539 exited? (promise )]
4145 (finally
4246 (p/destroy-tree proc)))))))
4347
44- (deftest start-liveness-probe-fires- when-parent-dies-test
45- (when-not h/windows?
48+ (when-not h/windows?
49+ (deftest start-liveness-probe-fires- when-parent-dies-test
4650 (testing " killing the parent triggers on-exit"
4751 (let [proc (spawn-blocking-process )
4852 exited? (promise )]
You can’t perform that action at this time.
0 commit comments