Skip to content

Commit 9a670b5

Browse files
committed
more robust integration tests
1 parent 9eb9976 commit 9a670b5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stream/tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_follow(self):
5555
activity_data = {'actor': actor_id, 'verb': 'tweet', 'object': 1}
5656
activity_id = self.user1.add_activity(activity_data)['id']
5757
self.aggregated2.follow('user:1')
58-
time.sleep(5)
58+
time.sleep(10)
5959
activities = self.aggregated2.get(limit=3)['results']
6060
activity = self._get_first_aggregated_activity(activities)
6161
activity_id_found = activity['id'] if activity is not None else None
@@ -65,7 +65,7 @@ def test_flat_follow(self):
6565
activity_data = {'actor': 1, 'verb': 'tweet', 'object': 1}
6666
activity_id = self.user1.add_activity(activity_data)['id']
6767
self.flat3.follow('user:1')
68-
time.sleep(5)
68+
time.sleep(10)
6969
activities = self.flat3.get(limit=3)['results']
7070
activity = self._get_first_activity(activities)
7171
activity_id_found = activity['id'] if activity is not None else None

0 commit comments

Comments
 (0)