-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uses unit as part of validity string
- Loading branch information
1 parent
4f7e86f
commit 2891163
Showing
6 changed files
with
144 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,8 +60,8 @@ async def deploy(ops_test: OpsTest, request): | |
trust=True, | ||
config={ | ||
"ca-common-name": CA_COMMON_NAME, | ||
"root-ca-validity": 200, | ||
"certificate-validity": 100, | ||
"root-ca-validity": "200", | ||
"certificate-validity": "100", | ||
"ca-email-address": "[email protected]", | ||
"ca-country-name": "US", | ||
"ca-state-or-province-name": "California", | ||
|
@@ -136,9 +136,8 @@ async def test_given_tls_requirer_is_integrated_when_certificate_expires_then_ne | |
assert application | ||
await application.set_config( | ||
{ | ||
"root-ca-validity": 60, | ||
"certificate-validity": 30, | ||
"validity-unit": "seconds", | ||
"root-ca-validity": "600s", | ||
"certificate-validity": "30s", | ||
} | ||
) | ||
await ops_test.model.wait_for_idle( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.