Skip to content

Conversation

@dnadoba
Copy link
Collaborator

@dnadobadnadoba 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

ModeOldNewRelative
Serial180s (3m 0s)48s3.75x
Parallel62s (1m 2s)12s5.1x

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

@FranzBuschFranzBusch 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!

@dnadobadnadoba merged commit 9195d3b into swift-server:mainOct 11, 2022
@dnadobadnadoba deleted the dn-speedup-tests branch October 11, 2022 15:40
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/noneNo version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@dnadoba@FranzBusch