Skip to content

Commit

Permalink
re-enable concurrency test with lower concurrent operation count
Browse files Browse the repository at this point in the history
  • Loading branch information
donnywals committed Jan 16, 2025
1 parent 5a71bd0 commit 13f919c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/TransloaditKitTests/TransloaditKitTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ class TransloaditKitTests: XCTestCase {
XCTAssertEqual(numFiles, fileDelegate.startedUploads.count)
}

func _testConcurrentAssemblyCreation() throws {
func testConcurrentAssemblyCreation() throws {
let expect = expectation(description: "Wait for all assemblies to be created")
expect.expectedFulfillmentCount = 10
expect.expectedFulfillmentCount = 3

DispatchQueue.concurrentPerform(iterations: 10) { _ in
DispatchQueue.concurrentPerform(iterations: 3) { _ in
do {
let (files, serverAssembly) = try Network.prepareForUploadingFiles(data: data)
let numFiles = files.count
Expand Down

0 comments on commit 13f919c

Please sign in to comment.