Skip to content

Commit

Permalink
Use Guard to Ensure That Only One Request Performs a Deletion
Browse files Browse the repository at this point in the history
This commit ensures that subsequent DELETE requests of the same app
ID wait for the results of the first DELETE request. This makes the
DELETE idempotent.
  • Loading branch information
schrieveslaach committed Apr 15, 2020
1 parent ac1c1c5 commit 12d1b37
Show file tree
Hide file tree
Showing 8 changed files with 429 additions and 305 deletions.
220 changes: 105 additions & 115 deletions api-tests/Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ lazy_static = "1.4"
reqwest = { version = "0.10", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
testcontainers = { git = "https://github.com/testcontainers/testcontainers-rs.git", branch = "master" }
testcontainers = { version = "0.9" }
tokio = { version = "0.2", features = ["macros"] }
uuid = { version = "0.8", features = ["serde", "v4"] }
Loading

0 comments on commit 12d1b37

Please sign in to comment.