aws: s3: Re-enable tests

These seem to have stopped working due to bad/rotated creds. Should work
fine now.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1623>
This commit is contained in:
Arun Raghavan 2024-06-17 06:08:18 -04:00
parent 343680ffea
commit b4b56eb282

View file

@ -173,57 +173,48 @@ mod tests {
delete_object(region.clone(), &bucket, &key).await; delete_object(region.clone(), &bucket, &key).await;
} }
#[ignore = "failing, needs investigation"]
#[tokio::test] #[tokio::test]
async fn test_s3_multipart_simple() { async fn test_s3_multipart_simple() {
do_s3_multipart_test("s3-test").await; do_s3_multipart_test("s3-test").await;
} }
#[ignore = "failing, needs investigation"]
#[tokio::test] #[tokio::test]
async fn test_s3_multipart_whitespace() { async fn test_s3_multipart_whitespace() {
do_s3_multipart_test("s3 test").await; do_s3_multipart_test("s3 test").await;
} }
#[ignore = "failing, needs investigation"]
#[tokio::test] #[tokio::test]
async fn test_s3_multipart_unicode() { async fn test_s3_multipart_unicode() {
do_s3_multipart_test("s3 🧪 😱").await; do_s3_multipart_test("s3 🧪 😱").await;
} }
#[ignore = "failing, needs investigation"]
#[tokio::test] #[tokio::test]
async fn test_s3_put_object_simple() { async fn test_s3_put_object_simple() {
do_s3_putobject_test("s3-put-object-test", None, None, None, true).await; do_s3_putobject_test("s3-put-object-test", None, None, None, true).await;
} }
#[ignore = "failing, needs investigation"]
#[tokio::test] #[tokio::test]
async fn test_s3_put_object_whitespace() { async fn test_s3_put_object_whitespace() {
do_s3_putobject_test("s3 put object test", None, None, None, true).await; do_s3_putobject_test("s3 put object test", None, None, None, true).await;
} }
#[ignore = "failing, needs investigation"]
#[tokio::test] #[tokio::test]
async fn test_s3_put_object_unicode() { async fn test_s3_put_object_unicode() {
do_s3_putobject_test("s3 put object 🧪 😱", None, None, None, true).await; do_s3_putobject_test("s3 put object 🧪 😱", None, None, None, true).await;
} }
#[ignore = "failing, needs investigation"]
#[tokio::test] #[tokio::test]
async fn test_s3_put_object_flush_buffers() { async fn test_s3_put_object_flush_buffers() {
// Awkward threshold as we push 5 buffers // Awkward threshold as we push 5 buffers
do_s3_putobject_test("s3-put-object-test fbuf", Some(2), None, None, true).await; do_s3_putobject_test("s3-put-object-test fbuf", Some(2), None, None, true).await;
} }
#[ignore = "failing, needs investigation"]
#[tokio::test] #[tokio::test]
async fn test_s3_put_object_flush_bytes() { async fn test_s3_put_object_flush_bytes() {
// Awkward threshold as we push 14 bytes per buffer // Awkward threshold as we push 14 bytes per buffer
do_s3_putobject_test("s3-put-object-test fbytes", None, Some(30), None, true).await; do_s3_putobject_test("s3-put-object-test fbytes", None, Some(30), None, true).await;
} }
#[ignore = "failing, needs investigation"]
#[tokio::test] #[tokio::test]
async fn test_s3_put_object_flush_time() { async fn test_s3_put_object_flush_time() {
do_s3_putobject_test( do_s3_putobject_test(
@ -237,7 +228,6 @@ mod tests {
.await; .await;
} }
#[ignore = "failing, needs investigation"]
#[tokio::test] #[tokio::test]
async fn test_s3_put_object_on_eos() { async fn test_s3_put_object_on_eos() {
// Disable all flush thresholds, so only EOS causes a flush // Disable all flush thresholds, so only EOS causes a flush
@ -251,7 +241,6 @@ mod tests {
.await; .await;
} }
#[ignore = "failing, needs investigation"]
#[tokio::test] #[tokio::test]
async fn test_s3_put_object_without_eos() { async fn test_s3_put_object_without_eos() {
// Disable all flush thresholds, skip EOS, and cause a flush on error // Disable all flush thresholds, skip EOS, and cause a flush on error