From 510c9e62970e43c099166b18c49b6e8f652b0ed3 Mon Sep 17 00:00:00 2001 From: floeschau Date: Wed, 6 Dec 2023 17:55:20 +0000 Subject: [PATCH] Disabled S3 testcase (SciHub shutdown and quicklook unavailability) --- src/Stars.Tests/S3Tests.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Stars.Tests/S3Tests.cs b/src/Stars.Tests/S3Tests.cs index 7ede13f3..ec9a7628 100644 --- a/src/Stars.Tests/S3Tests.cs +++ b/src/Stars.Tests/S3Tests.cs @@ -100,7 +100,8 @@ public async Task ImportUnlimitedStreamabletoS3() Assert.Equal(new FileInfo(Path.Join(Environment.CurrentDirectory, "../../../In/items/test502.json")).Length, metadata.ContentLength); } - [Fact] + // Test disabled due to retirement of SciHub + /*[Fact] public async Task ImportHttpStreamabletoS3() { await CreateBucketAsync("s3://local-http"); @@ -111,7 +112,7 @@ public async Task ImportHttpStreamabletoS3() var newRoute = await s3StreamingCarrier.StreamToS3Object(httpRoute, s3Route, CancellationToken.None); var metadata = await s3Route.Client.GetObjectMetadataAsync(s3Route.S3Uri.Bucket, s3Route.S3Uri.Key); Assert.Equal(httpRoute.ContentLength, Convert.ToUInt64(metadata.ContentLength)); - } + }*/ [Fact] public async Task AdaptRegion()