garage(tests): Remove superfluous test

This commit is contained in:
Jill 2022-02-07 16:52:42 +01:00
parent d7decda3f4
commit c8b30ebc79
No known key found for this signature in database
GPG key ID: 09A5A2688F13FAC1

View file

@ -29,33 +29,3 @@ async fn test_simple() {
assert_bytes_eq!(res.body, b"Hello world!"); 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!");
}