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 <arkadiusz.hiler@intel.com>
parent 53bb6c10
......@@ -25,7 +25,6 @@ import hashlib
import json
import re
import os
import time
import dateutil.parser as dateparse
from django.core import mail
......@@ -121,7 +120,6 @@ class APITestBase(test_series.Series0010):
# a second series so we can test ordering/filtering
test_series = TestSeries(3, project=self.project)
time.sleep(1)
test_series.insert()
self.series2 = Series.objects.all().order_by('submitted')[1]
......@@ -131,7 +129,6 @@ class APITestBase(test_series.Series0010):
# no cover letter
test_series = TestSeries(3, project=self.project,
sender=series3_sender, has_cover_letter=False)
time.sleep(1)
test_series.insert()
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