aboutsummaryrefslogtreecommitdiff
path: root/src/garage
diff options
context:
space:
mode:
authorJill <kokakiwi@deuxfleurs.fr>2022-02-07 16:52:42 +0100
committerJill <kokakiwi@deuxfleurs.fr>2022-02-10 17:55:51 +0100
commitc8b30ebc79364707526e2ae935b6e408924eef16 (patch)
tree448ddd74ab4f83129b5eacea01dd2a2c329a4a61 /src/garage
parentd7decda3f4423602e2a8064fa398181736b3a3ab (diff)
downloadgarage-c8b30ebc79364707526e2ae935b6e408924eef16.tar.gz
garage-c8b30ebc79364707526e2ae935b6e408924eef16.zip
garage(tests): Remove superfluous test
Diffstat (limited to 'src/garage')
-rw-r--r--src/garage/tests/simple.rs30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/garage/tests/simple.rs b/src/garage/tests/simple.rs
index bf88d8c2..a15cbf80 100644
--- a/src/garage/tests/simple.rs
+++ b/src/garage/tests/simple.rs
@@ -29,33 +29,3 @@ async fn test_simple() {
assert_bytes_eq!(res.body, b"Hello world!");
}
-
-#[tokio::test]
-async fn test_simple_2() {
- use aws_sdk_s3::ByteStream;
-
- let ctx = common::context();
- let bucket = ctx.create_bucket("test-simple-2");
-
- let data = ByteStream::from_static(b"Hello world!");
-
- ctx.client
- .put_object()
- .bucket(&bucket)
- .key("test")
- .body(data)
- .send()
- .await
- .unwrap();
-
- let res = ctx
- .client
- .get_object()
- .bucket(&bucket)
- .key("test")
- .send()
- .await
- .unwrap();
-
- assert_bytes_eq!(res.body, b"Hello world!");
-}