Skip to content

Commit

Permalink
Merge branch 'main' into marrobi/issue2810
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirkamara authored Dec 25, 2022
2 parents d1ca5bf + aebfb74 commit 46bc406
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions e2e_tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import random
import pytest
import asyncio
from typing import Tuple
Expand Down Expand Up @@ -61,6 +62,8 @@ async def create_or_get_test_workspace(
payload["properties"]["client_secret"] = client_secret

admin_token = await get_admin_token(verify=verify)
# TODO: Temp fix to solve creation of workspaces - https://github.com/microsoft/AzureTRE/issues/2986
await asyncio.sleep(random.uniform(1, 9))
workspace_path, workspace_id = await post_resource(payload, resource_strings.API_WORKSPACES, access_token=admin_token, verify=verify)

LOGGER.info(f"Workspace {workspace_id} {template_name} created")
Expand Down

0 comments on commit 46bc406

Please sign in to comment.