Skip to content

Commit

Permalink
Fix flaky REPL test (denoland#1491)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim-Mazurok authored and ry committed Jan 9, 2019
1 parent 0ceb554 commit 3634488
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/repl_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def test_set_timeout(self):

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)
Expand Down

0 comments on commit 3634488

Please sign in to comment.