diogogmt

Untitled

Feb 2nd, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.54 KB | None | 0 0
  1. Diogos-MacBook-Pro:nats shogunrua$ make test
  2.  
  3. ․ Authorization should fail to connect with no credentials : 6ms
  4. ․ Authorization should connect with proper credentials in url: 107ms
  5. ․ Authorization should connect with proper credentials as options: 103ms
  6. ․ Authorization should connect with proper credentials as server url: 107ms
  7. ․ Max responses and Auto-unsub should only received max responses requested: 8ms
  8. ․ Max responses and Auto-unsub should only received max responses requested (client support): 2ms
  9. ․ Max responses and Auto-unsub should not complain when unsubscribing an auto-unsubscribed sid: 2ms
  10. ․ Max responses and Auto-unsub should allow proper override to a lesser value : 2ms
  11. ․ Max responses and Auto-unsub should allow proper override to a higher value: 1ms
  12. ․ Max responses and Auto-unsub should only receive N msgs in request mode with multiple helpers: 2ms
  13. ․ Max responses and Auto-unsub should not leak subscriptions when using max: 102ms
  14. ․ Basics should do basic subscribe and unsubscribe: 1ms
  15. ․ Basics should do basic publish: 1ms
  16. ․ Basics should fire a callback for subscription: 1ms
  17. ․ Basics should include the correct message in the callback: 1ms
  18. ․ Basics should include the correct reply in the callback: 2ms
  19. ․ Basics should do request-reply: 4ms
  20. ․ Basics should return a sub id for requests: 3ms
  21. ․ Basics should do single partial wildcard subscriptions correctly: 1ms
  22. ․ Basics should do partial wildcard subscriptions correctly: 1ms
  23. ․ Basics should do full wildcard subscriptions correctly: 2ms
  24. ․ Basics should pass exact subject to callback: 2ms
  25. ․ Basics should do callback after publish is flushed: 1ms
  26. ․ Basics should do callback after flush: 1ms
  27. ․ Basics should handle an unsubscribe after close of connection: 1ms
  28. ․ Basics should not receive data after unsubscribe call: 1ms
  29. ․ Basics should pass sid properly to a message callback if requested: 1ms
  30. ․ Basics should parse json messages: 2ms
  31. ․ Basics should parse UTF8 json messages: 1ms
  32. ․ Basics should validate json messages before publishing: 0ms
  33. 1) Binary "before all" hook
  34. ․ Callbacks should properly do a publish callback after connection is closed: 1ms
  35. ․ Callbacks should properly do a flush callback after connection is closed: 1ms
  36. ․ Cluster should accept servers options: 3ms
  37. ․ Cluster should randomly connect to servers by default: 27ms
  38. ․ Cluster should connect to first valid server: 6ms
  39. ․ Cluster should emit error if no servers are available: 4ms
  40. ․ Cluster should not randomly connect to servers if noRandomize is set: 14ms
  41. ․ Cluster should not randomly connect to servers if dontRandomize is set: 11ms
  42. ․ Cluster should fail after maxReconnectAttempts when servers killed: 146ms
  43. ․ Basic Connectivity should perform basic connect with port: 0ms
  44. ․ Basic Connectivity should perform basic connect with uri: 0ms
  45. ․ Basic Connectivity should perform basic connect with options arg: 0ms
  46. ․ Basic Connectivity should emit a connect event: 6ms
  47. ․ Basic Connectivity should emit error if no server available: 1ms
  48. ․ Basic Connectivity should still receive publish when some servers are invalid: 203ms
  49. ․ Basic Connectivity should still receive publish when some servers[noRandomize] are invalid: 203ms
  50. ․ Errors should throw errors on publish: 3ms
  51. ․ Errors should throw errors on flush: 1ms
  52. ․ Errors should pass errors on publish with callbacks: 0ms
  53. ․ Errors should throw errors on subscribe: 1ms
  54. ․ Base Properties should have a version property: 1ms
  55. ․ Base Properties should have the same version as package.json: 1ms
  56. ․ Base Properties should have a connect function: 0ms
  57. ․ Base Properties should have a createInbox function: 0ms
  58. ․ Connection Properties should have a publish function: 0ms
  59. ․ Connection Properties should have a subscribe function: 0ms
  60. ․ Connection Properties should have an unsubscribe function: 0ms
  61. ․ Connection Properties should have a request function: 0ms
  62. ․ Connection Properties should have an options hash with proper fields: 0ms
  63. ․ Connection Properties should have an parsed url: 0ms
  64. ․ Connection Properties should allow options to be overridden: 1ms
  65. ․ Queues should deliver a message to single member of a queue group: 4ms
  66. ․ Queues should deliver a message to only one member of a queue group: 2ms
  67. ․ Queues should allow queue subscribers and normal subscribers to work together: 1ms
  68. ․ Queues should spread messages out equally (given random): 47ms
  69. ․ Queues should deliver only one mesage to queue subscriber regardless of wildcards: 2ms
  70. ․ Queues should deliver to multiple queue groups: 2ms
  71. ․ Reconnect functionality should not emit a reconnecting event if suppressed: 263ms
  72. ․ Reconnect functionality should emit a disconnect and a reconnecting event after proper delay: 284ms
  73. ․ Reconnect functionality should emit multiple reconnecting events and fail after maxReconnectAttempts: 360ms
  74. ․ Reconnect functionality should emit reconnecting events indefinitely if maxReconnectAttempts is set to -1: 1030ms
  75. ․ Reconnect functionality should succesfully reconnect to new server: 216ms
  76. ․ Reconnect functionality should succesfully reconnect to new server with subscriptions: 218ms
  77. ․ Reconnect functionality should succesfully reconnect to new server with queue subscriptions correctly: 219ms
  78. ․ Reconnect functionality should properly resync with inbound buffer non-nil: 148ms
  79. ․ Reconnect functionality should not crash when sending a publish with a callback after connection loss: 32ms
  80. ․ Reconnect functionality should execute callbacks if published during reconnect: 219ms
  81. ․ Reconnect functionality should not lose messages if published during reconnect: 220ms
  82. ․ Reconnect functionality should emit reconnect before flush callbacks are called: 219ms
  83. ․ Split Messages should properly handle large # of messages from split buffers: 1121ms
  84. ․ Split Messages should properly handle large # of utf8 messages from split buffers: 1022ms
  85. ․ Subscription Events should generate subscribe events: 1ms
  86. ․ Subscription Events should generate subscribe events with opts: 0ms
  87. ․ Subscription Events should generate unsubscribe events: 0ms
  88. ․ Subscription Events should generate unsubscribe events on auto-unsub: 2ms
  89. ․ Subscription Events should generate only unsubscribe events on auto-unsub: 1ms
  90. ․ Timeout and max received events for subscriptions should perform simple timeouts on subscriptions: 57ms
  91. ․ Timeout and max received events for subscriptions should not timeout if exepected has been received: 2ms
  92. ․ TLS should error if server does not support TLS: 2ms
  93. ․ TLS should error if server requires TLS: 2ms
  94. ․ TLS should reject without proper CA: 46ms
  95. ․ TLS should connect if authorized is overridden: 27ms
  96. ․ TLS should connect with proper ca and be authorized: 28ms
  97. ․ TLS should reject without proper cert if required by server: 1ms
  98. ․ TLS should be authrorized with proper cert: 25ms
  99. ․ UTF8 should do publish and subscribe with UTF8 payloads by default: 3ms
  100. ․ UTF8 should allow encoding override with the encoding option: 4ms
  101. ․ UTF8 should not allow unsupported encodings: 0ms
  102. ․ Yield should process all msgs before other events with no yield: 261ms
  103. ․ Yield should yield to other events: 14ms
  104.  
  105. 100 passing (12s)
  106. 1 failing
  107.  
  108. 1) Binary "before all" hook:
  109. Error: Server exited with bad code, already running? (1 / null)
Advertisement
Add Comment
Please, Sign In to add comment