Skip to content
This repository was archived by the owner on Feb 4, 2022. It is now read-only.

refactor(mock-server): improve test run time across the board #217

Merged
merged 14 commits into from
Sep 16, 2017

Conversation

mbroadst
Copy link
Member

No description provided.

@mbroadst mbroadst merged commit 54ce924 into 3.0.0 Sep 16, 2017
@mbroadst mbroadst deleted the mock-server-refactor branch September 16, 2017 18:32
 - modified tests to remove 3s from test run
 - synchronized all destroy calls to remove need for
   timeout-based guess
Mock servers used to have pseudo-event loops implemented using
`co`, which was somewhat confusing. Instead, a new concept of a
`messageHandler` was introduced, and responses are now handled in
and evented fashion.

NODE-1132
This gives us more control over the process of monitoring active
and removed connections in a given topology. This also allows for
an event-driven approach to cleanup, whereas in the past we have
depended upon timeouts.

NODE-1132
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant