rabbitmq / rabbitmq-web-stomp

Provides support for STOMP over WebSockets
Other
89 stars 26 forks source link

Tests are failing for stable branch #47

Closed hairyhum closed 8 years ago

hairyhum commented 8 years ago

Maybe I'm missing something. For me in stable branch make tests failing with errors:

 EXEC   tests-with-broker
======================== EUnit ========================
module 'rabbit_ws_test_cowboy_websocket'
  rabbit_ws_test_cowboy_websocket: connection_test...[0.004 s] ok
  rabbit_ws_test_cowboy_websocket: pubsub_test...[0.018 s] ok
  rabbit_ws_test_cowboy_websocket: pubsub_binary_test...[0.019 s] ok
  rabbit_ws_test_cowboy_websocket: disconnect_test...[0.004 s] ok
  [done in 0.057 s]
=======================================================
  All 4 tests passed.
======================== EUnit ========================
module 'rabbit_ws_test_raw_websocket'
  rabbit_ws_test_raw_websocket: connection_test...[0.001 s] ok
  rabbit_ws_test_raw_websocket: pubsub_test...*failed*
in function rabbit_ws_test_raw_websocket:raw_recv/1 (test/src/rabbit_ws_test_raw_websocket.erl, line 35)
in call from rabbit_ws_test_raw_websocket:pubsub_test/0 (test/src/rabbit_ws_test_raw_websocket.erl, line 44)
**error:{badmatch,{close,{1011,<<>>}}}
  output:<<"">>

  rabbit_ws_test_raw_websocket: disconnect_test...*failed*
in function rabbit_ws_test_raw_websocket:raw_recv/1 (test/src/rabbit_ws_test_raw_websocket.erl, line 35)
in call from rabbit_ws_test_raw_websocket:disconnect_test/0 (test/src/rabbit_ws_test_raw_websocket.erl, line 66)
**error:{badmatch,{close,{1011,<<>>}}}
  output:<<"">>

  [done in 0.012 s]
=======================================================
  Failed: 2.  Skipped: 0.  Passed: 1.

rabbit_ws_test_all:all_tests().
{error, "*** eval: {'EXIT',\n              {{badmatch,error},\n               [{rabbit_ws_test_all,all_tests,0,\n                    [{file,"test/src/rabbit_ws_test_all.erl"},{line,23}]},\n                {erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,669}]},\n                {lib,eval_str,1,[{file,"lib.erl"},{line,106}]},\n                {rpc,'-handle_call_call/6-fun-0-',5,\n                    [{file,"rpc.erl"},{line,206}]}]}}"}

FAILED
hairyhum commented 8 years ago

Sorry. Fixed by removing and reinstalling sockjs