Skip to content

Commit

Permalink
labhub_test: Increase timeout limit
Browse files Browse the repository at this point in the history
Default 5 sec timeout was causing unexpected
random CI failures due to repetitive request
trials by IGitt.

Closes #564
  • Loading branch information
nvzard committed Jun 21, 2018
1 parent 2d0c920 commit 2feedd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/labhub_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,12 +400,12 @@ def test_alive(self):
labhub.gh_repos['coala'].search_mrs.return_value = []
testbot.assertCommand('!pr stats 5hours',
'0 PRs opened in last 5 hours\n'
'The community is dead')
'The community is dead', timeout=100)

labhub.gh_repos['coala'].search_mrs.return_value = [
1, 2, 3, 4, 5,
6, 7, 8, 9, 10
]
testbot.assertCommand('!pr stats 3hours',
'10 PRs opened in last 3 hours\n'
'The community is on fire')
'The community is on fire', timeout=100)

0 comments on commit 2feedd6

Please sign in to comment.