diff options
author | ajs124 <git@ajs124.de> | 2021-03-03 02:47:18 +0100 |
---|---|---|
committer | ajs124 <git@ajs124.de> | 2021-05-03 15:42:36 +0200 |
commit | 891a83d948a70d4c0da93aabcc13803318adf882 (patch) | |
tree | c159c892a7a2c39e6879760e73c3595b4831afbc /nixos/tests/couchdb.nix | |
parent | 29bcaf04cbc9052acd4522733fe8ee1fa91902dc (diff) |
nixosTests.couchdb: clean up
Diffstat (limited to 'nixos/tests/couchdb.nix')
-rw-r--r-- | nixos/tests/couchdb.nix | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/nixos/tests/couchdb.nix b/nixos/tests/couchdb.nix index b0b865767f3de..049532481b15f 100644 --- a/nixos/tests/couchdb.nix +++ b/nixos/tests/couchdb.nix @@ -39,42 +39,6 @@ with lib; in '' start_all() - couchdb1.wait_for_unit("couchdb.service") - couchdb1.wait_until_succeeds( - "${curlJqCheck "" "GET" "" ".couchdb" "Welcome"}" - ) - couchdb1.wait_until_succeeds( - "${curlJqCheck "" "GET" "_all_dbs" ". | length" "2"}" - ) - couchdb1.succeed("${curlJqCheck testlogin "PUT" "foo" ".ok" "true"}") - couchdb1.succeed( - "${curlJqCheck "" "GET" "_all_dbs" ". | length" "3"}" - ) - couchdb1.succeed( - "${curlJqCheck testlogin "DELETE" "foo" ".ok" "true"}" - ) - couchdb1.succeed( - "${curlJqCheck "" "GET" "_all_dbs" ". | length" "2"}" - ) - - couchdb2.wait_for_unit("couchdb.service") - couchdb2.wait_until_succeeds( - "${curlJqCheck "" "GET" "" ".couchdb" "Welcome"}" - ) - couchdb2.wait_until_succeeds( - "${curlJqCheck "" "GET" "_all_dbs" ". | length" "0"}" - ) - couchdb2.succeed("${curlJqCheck testlogin "PUT" "foo" ".ok" "true"}") - couchdb2.succeed( - "${curlJqCheck "" "GET" "_all_dbs" ". | length" "1"}" - ) - couchdb2.succeed( - "${curlJqCheck testlogin "DELETE" "foo" ".ok" "true"}" - ) - couchdb2.succeed( - "${curlJqCheck "" "GET" "_all_dbs" ". | length" "0"}" - ) - couchdb3.wait_for_unit("couchdb.service") couchdb3.wait_until_succeeds( "${curlJqCheck testlogin "GET" "" ".couchdb" "Welcome"}" |