Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo-cavazzi committed Apr 29, 2022
1 parent 09e2715 commit 1e95658
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_deploy.yml
Expand Up @@ -767,7 +767,7 @@ jobs:
ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}
OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
run: pytest -m "integration and service and not serial" -v --timeout=600 -n auto
run: pytest -m "integration and service and not serial" -k test_mirgate_wrong_template_failure
- name: Test with pytest (serial)
env:
POETRY_VIRTUALENVS_CREATE: false
Expand Down
6 changes: 5 additions & 1 deletion tests/service/fixtures/service_integration.py
Expand Up @@ -27,7 +27,7 @@

from renku.core import errors
from renku.infrastructure.repository import Repository
from tests.utils import format_result_exception, modified_environ
from tests.utils import assert_rpc_response, format_result_exception, modified_environ


@contextlib.contextmanager
Expand Down Expand Up @@ -91,6 +91,7 @@ def integration_repo(headers, project_id, url_components) -> Generator[Repositor


@pytest.fixture()
# ! TODO: THIS IS FAILING
def integration_lifecycle(svc_client, mock_redis, identity_headers, it_remote_repo_url):
"""Setup and teardown steps for integration tests."""
from renku.domain_model.git import GitURL
Expand All @@ -101,6 +102,9 @@ def integration_lifecycle(svc_client, mock_redis, identity_headers, it_remote_re

response = svc_client.post("/cache.project_clone", data=json.dumps(payload), headers=identity_headers)

print(response.json)
print(json.dumps(identity_headers))
assert_rpc_response(response)
assert response
assert {"result"} == set(response.json.keys())

Expand Down

0 comments on commit 1e95658

Please sign in to comment.