From a2644e0aaf44a945ed5878bfd2c8863b99c3f645 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Thu, 26 Sep 2024 14:18:23 -0500 Subject: [PATCH] chore: Scale concurrent integration tests from 100x to 20x --- .../AWSS3IntegrationTests/S3ConcurrentTests.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/IntegrationTests/Services/AWSS3IntegrationTests/S3ConcurrentTests.swift b/IntegrationTests/Services/AWSS3IntegrationTests/S3ConcurrentTests.swift index c2f77252fc8..75b4953d3bb 100644 --- a/IntegrationTests/Services/AWSS3IntegrationTests/S3ConcurrentTests.swift +++ b/IntegrationTests/Services/AWSS3IntegrationTests/S3ConcurrentTests.swift @@ -17,15 +17,15 @@ class S3ConcurrentTests: S3XCTestCase { let MEGABYTE: Double = 1_000_000 // Payload below 1,048,576 bytes; sends as simple data payload - func test_100x_1MB_getObject() async throws { + func test_20x_1MB_getObject() async throws { fileData = try generateDummyTextData(numMegabytes: MEGABYTE) - try await repeatConcurrentlyWithArgs(count: 100, test: getObject, args: fileData!) + try await repeatConcurrentlyWithArgs(count: 20, test: getObject, args: fileData!) } // Payload over 1,048,576 bytes; uses aws chunked encoding & flexible checksum - func test_100x_1_5MB_getObject() async throws { + func test_20x_1_5MB_getObject() async throws { fileData = try generateDummyTextData(numMegabytes: MEGABYTE * 1.5) - try await repeatConcurrentlyWithArgs(count: 100, test: getObject, args: fileData!) + try await repeatConcurrentlyWithArgs(count: 20, test: getObject, args: fileData!) } /* Helper functions */