From 73be183864d0983821e683198d9a6ea9008f070a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 28 Apr 2019 14:16:37 -0700 Subject: [PATCH] Disable flaky assert in killSuccess (#2230) --- js/process_test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/process_test.ts b/js/process_test.ts index 8d266617aa46b5..e7d83904e98a40 100644 --- a/js/process_test.ts +++ b/js/process_test.ts @@ -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); });