Skip to content

Commit

Permalink
Disabled S3 testcase (SciHub shutdown and quicklook unavailability)
Browse files Browse the repository at this point in the history
  • Loading branch information
floeschau authored and emmanuelmathot committed Dec 7, 2023
1 parent 259fcc9 commit 510c9e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Stars.Tests/S3Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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()
Expand Down

0 comments on commit 510c9e6

Please sign in to comment.