Skip to content

Commit 5213f20

Browse files
authored
chore: Scale concurrent integration tests from 100x to 20x (#1779)
1 parent dbdba02 commit 5213f20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

IntegrationTests/Services/AWSS3IntegrationTests/S3ConcurrentTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ class S3ConcurrentTests: S3XCTestCase {
1717
let MEGABYTE: Double = 1_000_000
1818

1919
// Payload below 1,048,576 bytes; sends as simple data payload
20-
func test_100x_1MB_getObject() async throws {
20+
func test_20x_1MB_getObject() async throws {
2121
fileData = try generateDummyTextData(numMegabytes: MEGABYTE)
22-
try await repeatConcurrentlyWithArgs(count: 100, test: getObject, args: fileData!)
22+
try await repeatConcurrentlyWithArgs(count: 20, test: getObject, args: fileData!)
2323
}
2424

2525
// Payload over 1,048,576 bytes; uses aws chunked encoding & flexible checksum
26-
func test_100x_1_5MB_getObject() async throws {
26+
func test_20x_1_5MB_getObject() async throws {
2727
fileData = try generateDummyTextData(numMegabytes: MEGABYTE * 1.5)
28-
try await repeatConcurrentlyWithArgs(count: 100, test: getObject, args: fileData!)
28+
try await repeatConcurrentlyWithArgs(count: 20, test: getObject, args: fileData!)
2929
}
3030

3131
/* Helper functions */

0 commit comments

Comments
 (0)