Skip to content

Commit

Permalink
Don't run EC2Tests.testDescribeInstanceTypes with Localstack
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Mar 31, 2024
1 parent ad5f62c commit c8b74ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/SotoTests/Services/EC2/EC2Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ class EC2Tests: XCTestCase {
}

func testDescribeInstanceTypes() async throws {
// Localstack returns unknown values
try XCTSkipIf(TestEnvironment.isUsingLocalstack)
let describeTypesPaginator = Self.ec2.describeInstanceTypesPaginator(.init(), logger: TestEnvironment.logger)
_ = try await describeTypesPaginator.reduce([]) { $0 + ($1.instanceTypes ?? []) }
}
Expand Down

0 comments on commit c8b74ec

Please sign in to comment.