Change the test to use a custom scheduler so there is better control on when 
the carrier threads terminates. Also convert test to TestNG so that all test 
cases can be run in the context of a virtual thread.

-------------

Commit messages:
 - Convert to TestNG and run all tests on a virtual thread
 - Merge
 - Change test to use custom scheduler, easier to test reliably

Changes: https://git.openjdk.org/jdk/pull/9819/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9819&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8292051
  Stats: 153 lines in 2 files changed: 54 ins; 57 del; 42 mod
  Patch: https://git.openjdk.org/jdk/pull/9819.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9819/head:pull/9819

PR: https://git.openjdk.org/jdk/pull/9819

Reply via email to