forked from nats-io/nats.go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed tests to run on Windows + some cleanup
- JS Servers need a special sequence on shutdown. Most of the time the store was attempted to be removed before the server was shutdown, which on Windows would result in an error and the next test may recover the previous state. - Made use of the jsClient() helper to remove typical connect+jetstream code. - Added some nats.Timeout() during connect so that Windows connect to a server that is not running is faster than the default 2sec, which may cause tests to run very long or simply fail. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
- Loading branch information
Showing
11 changed files
with
316 additions
and
782 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.