test: refactor exitedAfterDisconnect test
- minor refactoring to conform with test-writing layout guidelines
- rename test to use current terminology rather than deprecated terminology
- assert.strictEqual() -> assert.ok()
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test cluster