Skip to content

Commit

Permalink
Fixed tests by downgrading due to s3 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Jan 31, 2025
1 parent c365588 commit 53ea2fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Foundatio.AWS/Foundatio.AWS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AWSSDK.CloudWatch" Version="3.7.402.34" />
<PackageReference Include="AWSSDK.S3" Version="3.7.413.1" />
<PackageReference Include="AWSSDK.S3" Version="3.7.411.7" />
<PackageReference Include="AWSSDK.SQS" Version="3.7.400.86" />

<PackageReference Include="Foundatio" Version="11.0.8" Condition="'$(ReferenceFoundatioSource)' == '' OR '$(ReferenceFoundatioSource)' == 'false'" />
Expand Down
2 changes: 2 additions & 0 deletions tests/Foundatio.AWS.Tests/Queues/SQSQueueTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ protected override IQueue<SimpleWorkItem> GetQueue(int retries = 1, TimeSpan? wo
.WorkItemTimeout(workItemTimeout.GetValueOrDefault(TimeSpan.FromMinutes(5)))
.DequeueInterval(TimeSpan.FromSeconds(1))
.ReadQueueTimeout(TimeSpan.FromSeconds(1))
.MetricsPollingInterval(TimeSpan.Zero)
.TimeProvider(timeProvider)
.LoggerFactory(Log));

Expand All @@ -55,6 +56,7 @@ protected IQueue<SimpleWorkItem> GetQueue(int retries = 1, TimeSpan? workItemTim
.WorkItemTimeout(workItemTimeout.GetValueOrDefault(TimeSpan.FromMinutes(5)))
.DequeueInterval(dequeueInterval ?? TimeSpan.FromSeconds(1))
.ReadQueueTimeout(readQueueTimeout ?? TimeSpan.FromSeconds(1))
.MetricsPollingInterval(TimeSpan.Zero)
.LoggerFactory(Log));

_logger.LogDebug("Queue Id: {QueueId}", queue.QueueId);
Expand Down

0 comments on commit 53ea2fa

Please sign in to comment.