summaryrefslogtreecommitdiff
path: root/tools/repl_test.py
diff options
context:
space:
mode:
authorMaxim Mazurok <maxim@mazurok.com>2019-01-09 12:32:05 -0800
committerRyan Dahl <ry@tinyclouds.org>2019-01-09 15:32:05 -0500
commit3634488caa8aff97b585d165917f03ffa583f749 (patch)
tree9c1c4cf2b671700c7a470dc090d395a219ab9eb7 /tools/repl_test.py
parent0ceb554343ff3d311a19f027b7aa8f0806bbb162 (diff)
Fix flaky REPL test (#1491)
Fixes #1490
Diffstat (limited to 'tools/repl_test.py')
-rw-r--r--tools/repl_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/repl_test.py b/tools/repl_test.py
index afce192f5..6836b9f65 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)