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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

More robustness improvements to plugin persistence tests #12185

Merged
merged 1 commit into from Mar 13, 2024

Conversation

devyn
Copy link
Contributor

@devyn devyn commented Mar 12, 2024

Description

These tests have been causing some pain, so I've done a few more things to try to make them a bit more tolerant of running slowly.

  • plugin_process_exits_after_stop: using timeout strategy, allows the process 5 seconds to exit.

  • generally don't use sleep to test anything less than 100ms

User-Facing Changes

Tests + Formatting

  • 馃煝 toolkit fmt
  • 馃煝 toolkit clippy
  • 馃煝 toolkit test
  • 馃煝 toolkit test stdlib

After Submitting

These tests have been causing some pain, so I've done a few more things
to try to make them a bit more tolerant of running slowly.

- `plugin_process_exits_after_stop`: using timeout strategy, allows
  the process 5 seconds to exit.

- generally don't use sleep to test anything less than 100ms
@fdncred
Copy link
Collaborator

fdncred commented Mar 13, 2024

Let's see if this helps. Thanks.

@fdncred fdncred merged commit be841d8 into nushell:main Mar 13, 2024
15 checks passed
@hustcer hustcer added this to the v0.92.0 milestone Mar 13, 2024
@devyn devyn deleted the plugin-persistence-tests-robustness branch March 15, 2024 00:00
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.

None yet

3 participants