Skip to content

test: use isMainThread for test with workers

Rodrigo Muino Tomonari requested to merge github/fork/Trott/isMainThread into master

Debugging why test-http2-reset-flood and noticed it's using an environment variable to signal whether or not we're in the main thread. The worker threads module has a property for that already, so use it instead.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading