Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix unit tests #121

Merged
merged 1 commit into from
Jun 13, 2024
Merged

chore: fix unit tests #121

merged 1 commit into from
Jun 13, 2024

Conversation

bobbyg603
Copy link
Member

@bobbyg603 bobbyg603 commented Jun 12, 2024

Description

Test runs so fast the time ends up being 0 causing prettyBytes to fail because anything divided by 0 is NaN.

Checklist

  • Tested manually
  • Unit tests pass with no errors or warnings
  • Documentation updated (if applicable)
  • Reviewed by at least 1 other contributor

@bobbyg603 bobbyg603 requested a review from daveplunkett June 12, 2024 18:02
@bobbyg603 bobbyg603 merged commit d458b7b into main Jun 13, 2024
3 checks passed
@bobbyg603 bobbyg603 deleted the fix-unit-test branch June 13, 2024 02:27
bobbyg603 added a commit that referenced this pull request Jun 13, 2024
bobbyg603 added a commit that referenced this pull request Jun 14, 2024
* fix: readable stream locked on retry

* chore: create new readstream when retrying

* fix: don't allow extra concurrency in worker pool

* fix: use availableParallelism instead of cpus to support taskset

* fix: worker pool maxWorkers

* chore: fix unit tests (#121)

* chore: update packages

* fix: destroy zip output file stream

* chore: fix lint

* fix: revert back to cpus to satisfy node 18.5

* fix: don't fire uploads promises all at once (#123)

* fix: await worker promises instead of firing them all off

* fix: max workers should be cpus minus one for main thread

* fix: don't retry max size exceeded errors

* fix: readable stream locked

* fix: update @bugsplat/js-api-client

* fix: make error message last log statement

* fix: use path as tempSubdir
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