diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-03-13 15:03:54 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-03-13 15:06:05 +0100 |
commit | 70b5424b9987ca348a1da97cc1827e2286bbfe4b (patch) | |
tree | 0940c4c1cdf8d19a7b346aa138d3f760c785cb1a /src/garage/tests/k2v/poll.rs | |
parent | 2687fb7fa80f645a2e29822d60e8970433788889 (diff) | |
download | garage-70b5424b9987ca348a1da97cc1827e2286bbfe4b.tar.gz garage-70b5424b9987ca348a1da97cc1827e2286bbfe4b.zip |
use one key per context to isolate teststests/increase-robustness
Diffstat (limited to 'src/garage/tests/k2v/poll.rs')
-rw-r--r-- | src/garage/tests/k2v/poll.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/garage/tests/k2v/poll.rs b/src/garage/tests/k2v/poll.rs index 5280255a..dd44aed9 100644 --- a/src/garage/tests/k2v/poll.rs +++ b/src/garage/tests/k2v/poll.rs @@ -57,8 +57,8 @@ async fn test_poll_item() { let poll = { let bucket = bucket.clone(); let ct = ct.clone(); + let ctx = ctx.clone(); tokio::spawn(async move { - let ctx = common::context(); ctx.k2v .request .builder(bucket.clone()) @@ -171,8 +171,8 @@ async fn test_poll_range() { // Second poll range, which will complete later let poll = { let bucket = bucket.clone(); + let ctx = ctx.clone(); tokio::spawn(async move { - let ctx = common::context(); ctx.k2v .request .builder(bucket.clone()) @@ -220,8 +220,8 @@ async fn test_poll_range() { // Start a new poll operation let poll = { let bucket = bucket.clone(); + let ctx = ctx.clone(); tokio::spawn(async move { - let ctx = common::context(); ctx.k2v .request .builder(bucket.clone()) |