Skip to content

test: refactor test-*-ci-reneg-attack.js

Refactor test-tls-ci-reneg-attack:

  • Use port 0 (OS-assigned available port) rather than common.PORT
  • Remove unnecessary boolean that causes race condition failure on some operating systems

Refactor that test and test-https-ci-reneg-attack:

  • Check all stderr, not just the chunk coming in now, in case it breaks up chunks in the middle of where the regexps are supposed to match.
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading