roc-go icon indicating copy to clipboard operation
roc-go copied to clipboard

Add simple stress test

Open gavv opened this issue 4 years ago • 0 comments

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 avatar Apr 05 '20 08:04 gavv