backport v4.x: test: fix flaky test-tls-wrap-timeout by BethGriggs · Pull Request #12567 · nodejs/node

@Trott @BethGriggs

Competing timers were causing a race condition and thus the test was
flaky. Instead, we check an object property on process exit.

Fixes: nodejs#7650
PR-URL: nodejs#7857
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com>

@nodejs-github-bot added test

Issues and PRs related to the tests.

v4.x labels

Apr 21, 2017

@mscdex mscdex added the tls

Issues and PRs related to the tls subsystem.

label

Apr 21, 2017

This was referenced

Apr 24, 2017

MylesBorins pushed a commit that referenced this pull request

May 2, 2017
Competing timers were causing a race condition and thus the test was
flaky. Instead, we check an object property on process exit.

Fixes: #7650
Backport-PR-URL: #12567
PR-URL: #7857
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com>