aboutsummaryrefslogtreecommitdiff
path: root/src/garage/tests/bucket.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-03-13 15:03:54 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-03-13 15:06:05 +0100
commit70b5424b9987ca348a1da97cc1827e2286bbfe4b (patch)
tree0940c4c1cdf8d19a7b346aa138d3f760c785cb1a /src/garage/tests/bucket.rs
parent2687fb7fa80f645a2e29822d60e8970433788889 (diff)
downloadgarage-70b5424b9987ca348a1da97cc1827e2286bbfe4b.tar.gz
garage-70b5424b9987ca348a1da97cc1827e2286bbfe4b.zip
use one key per context to isolate teststests/increase-robustness
Diffstat (limited to 'src/garage/tests/bucket.rs')
-rw-r--r--src/garage/tests/bucket.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/tests/bucket.rs b/src/garage/tests/bucket.rs
index 9c363013..0dec3cfa 100644
--- a/src/garage/tests/bucket.rs
+++ b/src/garage/tests/bucket.rs
@@ -13,7 +13,7 @@ async fn test_bucket_all() {
ctx.garage
.command()
.args(["key", "deny"])
- .args(["--create-bucket", &ctx.garage.key.id])
+ .args(["--create-bucket", &ctx.key.id])
.quiet()
.expect_success_output("Could not deny key to create buckets");
@@ -26,7 +26,7 @@ async fn test_bucket_all() {
ctx.garage
.command()
.args(["key", "allow"])
- .args(["--create-bucket", &ctx.garage.key.id])
+ .args(["--create-bucket", &ctx.key.id])
.quiet()
.expect_success_output("Could not deny key to create buckets");