From 122ccce89a59b15c0a84b28d62b5593695aef151 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 30 Nov 2018 09:41:12 -0500 Subject: [PATCH] Fix flaky REPL test. --- tools/repl_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/repl_test.py b/tools/repl_test.py index ce8ef917c8..ce3db89534 100644 --- a/tools/repl_test.py +++ b/tools/repl_test.py @@ -90,9 +90,9 @@ class Repl(object): def test_set_timeout_interlaced(self): out, err, code = self.input( - "setTimeout(() => console.log('a'), 250)", - "setTimeout(() => console.log('b'), 150)", - sleep=0.2) + "setTimeout(() => console.log('a'), 500)", + "setTimeout(() => console.log('b'), 300)", + sleep=0.4) assertEqual(out, '1\n2\na\nb\n') assertEqual(err, '') assertEqual(code, 0)