make vaultwarden test more robust
This commit is contained in:
parent
a49712c1f9
commit
dec74d0a4e
1 changed files with 5 additions and 0 deletions
|
@ -174,6 +174,11 @@ in
|
|||
nodes.client = {};
|
||||
|
||||
testScript = commonTestScript.override {
|
||||
waitForPorts = { node, ... }: [
|
||||
8222
|
||||
5432
|
||||
9091
|
||||
];
|
||||
extraScript = { proto_fqdn, ... }: ''
|
||||
with subtest("unauthenticated access is not granted to /admin"):
|
||||
response = curl(client, """{"code":%{response_code},"auth_host":"%{urle.host}","auth_query":"%{urle.query}","all":%{json}}""", "${proto_fqdn}/admin")
|
||||
|
|
Loading…
Add table
Reference in a new issue