Skip to content

Commit

Permalink
Skip certs e2e on Fri/Sat (#3203)
Browse files Browse the repository at this point in the history
* skip certs e2e on Fri/Sat

* Update CHANGELOG.md
  • Loading branch information
tamirkamara authored Feb 7, 2023
1 parent d245319 commit 36a16c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ BUG FIXES:
* Reauth CLI if TRE endpoint has changed [#3137](https://github.com/microsoft/AzureTRE/pull/3137)
* Added Migration for Airlock requests that were created prior to version 0.5.0 ([#3152](https://github.com/microsoft/AzureTRE/pull/3152))
* Temporarly use the remote bundle for `check-params` target [#3149](https://github.com/microsoft/AzureTRE/pull/3149)
* Workspace module dependency to resolve _AnotherOperationInProgress_ errors [#TBD](https://github.com/microsoft/AzureTRE/pull/TBD)
* Workspace module dependency to resolve _AnotherOperationInProgress_ errors [#3194](https://github.com/microsoft/AzureTRE/pull/3194)
* Skip Certs shared service E2E on Friday & Saturday due to LetsEncrypt limits [#3203](https://github.com/microsoft/AzureTRE/pull/3203)

COMPONENTS:

Expand Down
2 changes: 2 additions & 0 deletions e2e_tests/test_shared_services.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import pytest
import logging
from datetime import date

from resources.resource import disable_and_delete_resource, post_resource
from helpers import get_shared_service_by_name
Expand Down Expand Up @@ -139,6 +140,7 @@ async def test_create_shared_service(template_name, verify) -> None:

@pytest.mark.shared_services
@pytest.mark.timeout(60 * 60)
@pytest.mark.skipif(date.today().weekday() in [4, 5], reason="LetsEncrypt limits to 5 times a week. Skipping on FRI & SAT.")
async def test_create_certs_nexus_shared_service(verify) -> None:
await disable_and_delete_shared_service_if_exists(strings.NEXUS_SHARED_SERVICE, verify)
await disable_and_delete_shared_service_if_exists(strings.CERTS_SHARED_SERVICE, verify)
Expand Down

0 comments on commit 36a16c4

Please sign in to comment.