Test failed (011_hearbeat.t)
I'm getting test failed:
env MQHOST="localhost" make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001_declare_exchange.t ... ok t/002_publish.t ............ ok t/003_consume.t ............ ok t/004_selfconsume.t ........ ok t/005_noack.t .............. ok t/006_txn.t ................ ok t/007_get.t ................ ok t/008_queue_declare.t ...... ok t/009_no_route.t ........... ok t/010_qos.t ................ ok t/011_hearbeat.t ........... 1/7 # Sleeping for 5 seconds t/011_hearbeat.t ........... 5/7
Failed test 'publish'
at t/011_hearbeat.t line 26.
got: '-1'
expected: '0'
Sleeping for 1 seconds
t/011_hearbeat.t ........... 7/7 # Looks like you failed 1 test of 7. t/011_hearbeat.t ........... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/7 subtests t/012_timeout.t ............ ok t/013_headers.t ............ ok t/014_bind_with_headers.t .. 1/? # Using queue amq.gen-V0q3V8HJvf/GzaMjpH+ESQ== t/014_bind_with_headers.t .. ok
Test Summary Report
t/011_hearbeat.t (Wstat: 256 Tests: 7 Failed: 1) Failed test: 6 Non-zero exit status: 1 Files=14, Tests=142, 11 wallclock secs ( 0.49 usr 0.60 sys + 1.44 cusr 1.16 csys = 3.69 CPU) Result: FAIL Failed 1/14 test programs. 1/142 subtests failed. make: *** [test_dynamic] Error 255
If I just type 'make test', I get the message 'All tests successful' in result.
So it works against dev.rabbitmq.com, but not against your locally installed AMQP server?
Exactly.
BTW, I tried it against RabbitMQ 2.4.0 and 2.6.1 (locally installed), but the test failed for both cases.