Commit 9d1e22a5 authored by Arkadiusz Hiler's avatar Arkadiusz Hiler

test_rest: Remove sleeps

They don't affect passing on any of the 3 major databases in multiple
runs, so it seems that the issues that the sleeps waere trying to
mitigate (ordering) was fixed elsewhere.
Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <>
parent 53bb6c10
...@@ -25,7 +25,6 @@ import hashlib ...@@ -25,7 +25,6 @@ import hashlib
import json import json
import re import re
import os import os
import time
import dateutil.parser as dateparse import dateutil.parser as dateparse
from django.core import mail from django.core import mail
...@@ -121,7 +120,6 @@ class APITestBase(test_series.Series0010): ...@@ -121,7 +120,6 @@ class APITestBase(test_series.Series0010):
# a second series so we can test ordering/filtering # a second series so we can test ordering/filtering
test_series = TestSeries(3, project=self.project) test_series = TestSeries(3, project=self.project)
test_series.insert() test_series.insert()
self.series2 = Series.objects.all().order_by('submitted')[1] self.series2 = Series.objects.all().order_by('submitted')[1]
...@@ -131,7 +129,6 @@ class APITestBase(test_series.Series0010): ...@@ -131,7 +129,6 @@ class APITestBase(test_series.Series0010):
# no cover letter # no cover letter
test_series = TestSeries(3, project=self.project, test_series = TestSeries(3, project=self.project,
sender=series3_sender, has_cover_letter=False) sender=series3_sender, has_cover_letter=False)
test_series.insert() test_series.insert()
self.series3 = Series.objects.all().order_by('submitted')[2] self.series3 = Series.objects.all().order_by('submitted')[2]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment