1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00

Disable flaky assert in killSuccess (#2230)

This commit is contained in:
Ryan Dahl 2019-04-28 14:16:37 -07:00 committed by GitHub
parent 1af02b405e
commit 73be183864
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -264,7 +264,10 @@ if (Deno.platform.os !== "win") {
const status = await p.status();
assertEquals(status.success, false);
assertEquals(status.code, undefined);
// TODO(ry) On Linux, status.code is sometimes undefined and sometimes 1.
// The following assert is causing this test to be flaky. Investigate and
// re-enable when it can be made deterministic.
// assertEquals(status.code, 1);
assertEquals(status.signal, Deno.Signal.SIGINT);
});