Skip to content

Commit

Permalink
make test_webhook_invalid_posts flaky (#1758)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bibo-Joshi committed Feb 7, 2020
1 parent 84cfc6f commit cf3635d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_updater.py
Expand Up @@ -20,6 +20,7 @@
import os
import signal
import sys
from flaky import flaky
from functools import partial
from queue import Queue
from random import randrange
Expand Down Expand Up @@ -281,6 +282,7 @@ def attempt(*args, **kwargs):
updater._bootstrap(retries, False, 'path', None, bootstrap_interval=0)
assert self.attempts == attempts

@flaky(3, 1)
def test_webhook_invalid_posts(self, updater):
ip = '127.0.0.1'
port = randrange(1024, 49152) # select random port for travis
Expand Down

0 comments on commit cf3635d

Please sign in to comment.