aboutsummaryrefslogtreecommitdiff
path: root/src/garage/tests/simple.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/garage/tests/simple.rs')
-rw-r--r--src/garage/tests/simple.rs31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/garage/tests/simple.rs b/src/garage/tests/simple.rs
deleted file mode 100644
index f54ae9ac..00000000
--- a/src/garage/tests/simple.rs
+++ /dev/null
@@ -1,31 +0,0 @@
-use crate::common;
-
-#[tokio::test]
-async fn test_simple() {
- use aws_sdk_s3::types::ByteStream;
-
- let ctx = common::context();
- let bucket = ctx.create_bucket("test-simple");
-
- 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!");
-}