From 3634488caa8aff97b585d165917f03ffa583f749 Mon Sep 17 00:00:00 2001 From: Maxim Mazurok Date: Wed, 9 Jan 2019 12:32:05 -0800 Subject: [PATCH] Fix flaky REPL test (#1491) Fixes #1490 --- 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 afce192f52..6836b9f658 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'), 500)", - "setTimeout(() => console.log('b'), 300)", - sleep=0.4) + "setTimeout(() => console.log('a'), 1000)", + "setTimeout(() => console.log('b'), 600)", + sleep=0.8) assertEqual(out, '1\n2\na\nb\n') assertEqual(err, '') assertEqual(code, 0)