Skip to content

Commit

Permalink
fix: small sleep to stabilise project creation in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
studioj committed Dec 27, 2023
1 parent 9e8f69c commit 7b39544
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import re
import string
import sys
import time
import unittest
from time import sleep
from typing import Any
Expand Down Expand Up @@ -259,6 +260,7 @@ def _create_project(
except JIRAError as e:
if "A project with that name already exists" not in str(e):
raise e
time.sleep(1)
return self.jira_admin.project(project_key).id

def create_some_data(self):
Expand Down

0 comments on commit 7b39544

Please sign in to comment.