Skip to content

Conversation

dnadoba
Copy link
Collaborator

@dnadoba dnadoba commented Oct 10, 2022

Motiviation

We like fast tests.

Modification

  • set networkFrameworkWaitForConnectivity and connectionPool.retryConnectionEstablishment to false for most test cases
  • move long running test cases into separate classes so they can run in parallel

Results

Mode Old New Relative
Serial 180s (3m 0s) 48s 3.75x
Parallel 62s (1m 2s) 12s 5.1x

@dnadoba dnadoba added the semver/none No version bump required. label Oct 10, 2022
@dnadoba dnadoba marked this pull request as ready for review October 11, 2022 10:27
Copy link
Collaborator

@FranzBusch FranzBusch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice stuff! Looks good to me!

@dnadoba dnadoba merged commit 9195d3b into swift-server:main Oct 11, 2022
@dnadoba dnadoba deleted the dn-speedup-tests branch October 11, 2022 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants