Commit 9d0bd779 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

gh: more await

parent b3bd48e1
Pipeline #15358 failed with stage
in 5 minutes and 27 seconds
......@@ -272,11 +272,11 @@ class GhTests(TestCase):
async def test_push_gitlab_master(self):
"""Test sync after pushing to gitlab on master."""
await self.push_gitlab('master')
async def test_push_gitlab_devel(self):
"""Test sync after pushing to gitlab on devel."""
await self.push_gitlab('devel')
async def test_branch_github(self):
"""Test sync after creating or deleting a branch on github."""
......@@ -385,7 +385,7 @@ class GhTests(TestCase):
LOGGER.debug('test_pr: 7')
self.assertTrue([c.body for c in pr_master.get_issue_comments() if not_accepted_string in c.body])
LOGGER.debug('test_pr: 8')
await sleep(15)
await sleep(60)
LOGGER.debug('test_pr: 9')
self.assertIn(f'pr/{pr_master.number}', [ for b in self.gitlab.branches.list()])
LOGGER.debug('test_pr: 10')
......@@ -418,5 +418,5 @@ class GhTests(TestCase):
self.assertEqual(response.status_code, 200)
await sleep(15)
await sleep(60)
self.assertNotIn(f'pr/{pr.number}', [ for b in self.gitlab.branches.list()])
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