add 1 second sleep - suspect pypy test failing due to timing issue
+import time
+
import pytest
import stomp
@@ -178,6 +180,8 @@ content-length:%s
listener.wait_for_heartbeat()
headers, body = listener.get_latest_message()
+ time.sleep(1)
+
assert expected_heartbeat_count == listener.heartbeat_count, "(4) expected heartbeat count %s, was %s" % (expected_heartbeat_count, listener.heartbeat_count)
assert {
"content-type": "text/plain",
