Skip to content

test(lib-storage): speed up lib-storage e2e tests by reducing permutations#8028

Merged
kuhe merged 1 commit into
mainfrom
kuhe/test/s3
May 18, 2026
Merged

test(lib-storage): speed up lib-storage e2e tests by reducing permutations#8028
kuhe merged 1 commit into
mainfrom
kuhe/test/s3

Conversation

@kuhe

@kuhe kuhe commented May 16, 2026

Copy link
Copy Markdown
Contributor

Issue

n/a

Description

Reduces the number of permutations in the lib-storage e2e test to allow it to complete faster.

Testing

modified e2e test

Checklist

  • If the PR is a feature, add integration tests (*.integ.spec.ts) or E2E tests.
    • It's not a feature.
  • My E2E tests are resilient to concurrent i/o.
    • I didn't write any E2E tests.
  • I added access level annotations e.g. @public, @internal tags and enabled doc generation on the package. Remember that access level annotations go below the description, not above.
    • I didn't add any public functions.
  • Streams - how do they work?? My WebStream readers/locks are properly lifecycled. Node.js stream backpressure is handled. Error handling.
    • No streams here.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kuhe kuhe requested a review from a team as a code owner May 16, 2026 19:16
ChecksumAlgorithm.SHA256,
ChecksumAlgorithm.CRC32,
ChecksumAlgorithm.CRC32C,
])("ChecksumAlgorithm: %s", (ChecksumAlgorithm) => {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this multiplied the 3 checksum settings by the 5 checksum options, 15x whatever the test content was.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

for some reason this is taking almost 20 min on my computer, but all of e2e only takes 8min on remote builds

@kuhe kuhe merged commit 273afd4 into main May 18, 2026
7 checks passed
@kuhe kuhe deleted the kuhe/test/s3 branch May 18, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants