Details
-
Test
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-0.14.0
-
None
-
None
Description
SyncRequestResponseTest.test_allowed_mechs_external is very slow, the tests seem to sit waiting for it to complete for a long time, to the extent it dominates the overall test run time.
2: proton_tests.utils.SyncRequestResponseTest.test_allowed_mechs_external .. start 2: 2016-09-08 10:40:22,513 ERROR amqp:connection:framing-error: connection aborted 2: proton_tests.utils.SyncRequestResponseTest.test_allowed_mechs_external .. pass 2: proton_tests.utils.SyncRequestResponseTest.test_connection_properties ... pass 2: proton_tests.utils.SyncRequestResponseTest.test_request_response ........ pass 2: Totals: 422 tests, 407 passed, 15 skipped, 0 ignored, 0 failed 2/20 Test #2: python-test ...................... Passed 102.36 sec
The proton-j run of the python tests skips that particular test, and takes 30 seconds in total on the same system.
The same delay appears to be present on Travis CI as well, with a run of similar commit taking 128ec on the proton-c python tests, so it doesnt seem to be environment specific.