From c8b30ebc79364707526e2ae935b6e408924eef16 Mon Sep 17 00:00:00 2001 From: Jill Date: Mon, 7 Feb 2022 16:52:42 +0100 Subject: [PATCH] garage(tests): Remove superfluous test --- src/garage/tests/simple.rs | 30 ------------------------------ 1 file changed, 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!"); -}