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

Add simple stress test #17

Open
gavv opened this issue Apr 5, 2020 · 0 comments
Open

Add simple stress test #17

gavv opened this issue Apr 5, 2020 · 0 comments
Labels
help wanted Contributions are welcome tests Improvements or additions to tests

Comments

@gavv
Copy link
Member

gavv commented Apr 5, 2020

We should think about adding a stress test which will:

  • intensively use multiple senders, receivers, and contexts from parallel goroutines;
  • constantly check some invariants, e.g. that no operation hangs and each stream continues to receive more non-zero samples.

It would be also good to run in under race detector.

e2e_test.go from #24 can be used as a base for such a test. See also #101 and https://github.com/roc-streaming/roc-toolkit/issues/298 for some ideas on integration and stress tests.

@gavv gavv added the tests Improvements or additions to tests label Jun 3, 2020
@gavv gavv added hacktoberfest help wanted Contributions are welcome labels Sep 28, 2020
@gavv gavv changed the title Add stress test Add simple stress test Sep 28, 2020
@gavv gavv removed the hacktoberfest label Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Contributions are welcome tests Improvements or additions to tests
Projects
None yet
Development

No branches or pull requests

1 participant