Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Diogos-MacBook-Pro:nats shogunrua$ make test
- ․ Authorization should fail to connect with no credentials : 6ms
- ․ Authorization should connect with proper credentials in url: 107ms
- ․ Authorization should connect with proper credentials as options: 103ms
- ․ Authorization should connect with proper credentials as server url: 107ms
- ․ Max responses and Auto-unsub should only received max responses requested: 8ms
- ․ Max responses and Auto-unsub should only received max responses requested (client support): 2ms
- ․ Max responses and Auto-unsub should not complain when unsubscribing an auto-unsubscribed sid: 2ms
- ․ Max responses and Auto-unsub should allow proper override to a lesser value : 2ms
- ․ Max responses and Auto-unsub should allow proper override to a higher value: 1ms
- ․ Max responses and Auto-unsub should only receive N msgs in request mode with multiple helpers: 2ms
- ․ Max responses and Auto-unsub should not leak subscriptions when using max: 102ms
- ․ Basics should do basic subscribe and unsubscribe: 1ms
- ․ Basics should do basic publish: 1ms
- ․ Basics should fire a callback for subscription: 1ms
- ․ Basics should include the correct message in the callback: 1ms
- ․ Basics should include the correct reply in the callback: 2ms
- ․ Basics should do request-reply: 4ms
- ․ Basics should return a sub id for requests: 3ms
- ․ Basics should do single partial wildcard subscriptions correctly: 1ms
- ․ Basics should do partial wildcard subscriptions correctly: 1ms
- ․ Basics should do full wildcard subscriptions correctly: 2ms
- ․ Basics should pass exact subject to callback: 2ms
- ․ Basics should do callback after publish is flushed: 1ms
- ․ Basics should do callback after flush: 1ms
- ․ Basics should handle an unsubscribe after close of connection: 1ms
- ․ Basics should not receive data after unsubscribe call: 1ms
- ․ Basics should pass sid properly to a message callback if requested: 1ms
- ․ Basics should parse json messages: 2ms
- ․ Basics should parse UTF8 json messages: 1ms
- ․ Basics should validate json messages before publishing: 0ms
- 1) Binary "before all" hook
- ․ Callbacks should properly do a publish callback after connection is closed: 1ms
- ․ Callbacks should properly do a flush callback after connection is closed: 1ms
- ․ Cluster should accept servers options: 3ms
- ․ Cluster should randomly connect to servers by default: 27ms
- ․ Cluster should connect to first valid server: 6ms
- ․ Cluster should emit error if no servers are available: 4ms
- ․ Cluster should not randomly connect to servers if noRandomize is set: 14ms
- ․ Cluster should not randomly connect to servers if dontRandomize is set: 11ms
- ․ Cluster should fail after maxReconnectAttempts when servers killed: 146ms
- ․ Basic Connectivity should perform basic connect with port: 0ms
- ․ Basic Connectivity should perform basic connect with uri: 0ms
- ․ Basic Connectivity should perform basic connect with options arg: 0ms
- ․ Basic Connectivity should emit a connect event: 6ms
- ․ Basic Connectivity should emit error if no server available: 1ms
- ․ Basic Connectivity should still receive publish when some servers are invalid: 203ms
- ․ Basic Connectivity should still receive publish when some servers[noRandomize] are invalid: 203ms
- ․ Errors should throw errors on publish: 3ms
- ․ Errors should throw errors on flush: 1ms
- ․ Errors should pass errors on publish with callbacks: 0ms
- ․ Errors should throw errors on subscribe: 1ms
- ․ Base Properties should have a version property: 1ms
- ․ Base Properties should have the same version as package.json: 1ms
- ․ Base Properties should have a connect function: 0ms
- ․ Base Properties should have a createInbox function: 0ms
- ․ Connection Properties should have a publish function: 0ms
- ․ Connection Properties should have a subscribe function: 0ms
- ․ Connection Properties should have an unsubscribe function: 0ms
- ․ Connection Properties should have a request function: 0ms
- ․ Connection Properties should have an options hash with proper fields: 0ms
- ․ Connection Properties should have an parsed url: 0ms
- ․ Connection Properties should allow options to be overridden: 1ms
- ․ Queues should deliver a message to single member of a queue group: 4ms
- ․ Queues should deliver a message to only one member of a queue group: 2ms
- ․ Queues should allow queue subscribers and normal subscribers to work together: 1ms
- ․ Queues should spread messages out equally (given random): 47ms
- ․ Queues should deliver only one mesage to queue subscriber regardless of wildcards: 2ms
- ․ Queues should deliver to multiple queue groups: 2ms
- ․ Reconnect functionality should not emit a reconnecting event if suppressed: 263ms
- ․ Reconnect functionality should emit a disconnect and a reconnecting event after proper delay: 284ms
- ․ Reconnect functionality should emit multiple reconnecting events and fail after maxReconnectAttempts: 360ms
- ․ Reconnect functionality should emit reconnecting events indefinitely if maxReconnectAttempts is set to -1: 1030ms
- ․ Reconnect functionality should succesfully reconnect to new server: 216ms
- ․ Reconnect functionality should succesfully reconnect to new server with subscriptions: 218ms
- ․ Reconnect functionality should succesfully reconnect to new server with queue subscriptions correctly: 219ms
- ․ Reconnect functionality should properly resync with inbound buffer non-nil: 148ms
- ․ Reconnect functionality should not crash when sending a publish with a callback after connection loss: 32ms
- ․ Reconnect functionality should execute callbacks if published during reconnect: 219ms
- ․ Reconnect functionality should not lose messages if published during reconnect: 220ms
- ․ Reconnect functionality should emit reconnect before flush callbacks are called: 219ms
- ․ Split Messages should properly handle large # of messages from split buffers: 1121ms
- ․ Split Messages should properly handle large # of utf8 messages from split buffers: 1022ms
- ․ Subscription Events should generate subscribe events: 1ms
- ․ Subscription Events should generate subscribe events with opts: 0ms
- ․ Subscription Events should generate unsubscribe events: 0ms
- ․ Subscription Events should generate unsubscribe events on auto-unsub: 2ms
- ․ Subscription Events should generate only unsubscribe events on auto-unsub: 1ms
- ․ Timeout and max received events for subscriptions should perform simple timeouts on subscriptions: 57ms
- ․ Timeout and max received events for subscriptions should not timeout if exepected has been received: 2ms
- ․ TLS should error if server does not support TLS: 2ms
- ․ TLS should error if server requires TLS: 2ms
- ․ TLS should reject without proper CA: 46ms
- ․ TLS should connect if authorized is overridden: 27ms
- ․ TLS should connect with proper ca and be authorized: 28ms
- ․ TLS should reject without proper cert if required by server: 1ms
- ․ TLS should be authrorized with proper cert: 25ms
- ․ UTF8 should do publish and subscribe with UTF8 payloads by default: 3ms
- ․ UTF8 should allow encoding override with the encoding option: 4ms
- ․ UTF8 should not allow unsupported encodings: 0ms
- ․ Yield should process all msgs before other events with no yield: 261ms
- ․ Yield should yield to other events: 14ms
- 100 passing (12s)
- 1 failing
- 1) Binary "before all" hook:
- Error: Server exited with bad code, already running? (1 / null)
Advertisement
Add Comment
Please, Sign In to add comment