qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adel Boutros <adelbout...@live.com>
Subject Re: [Qpid Dispatcher] Runtime behavior on SunOS
Date Thu, 21 Apr 2016 13:03:57 GMT
I finally managed to get all green tests on SunOS!

Actually, there was another problem this time in the python script: In
tests/system_test.py, when you check for available port, you compare the
errno with the value 111 which is the value of "Connection refused" under
Linux. But on Solaris, the value is 146 so all system tests hang forever as
no available port is ever found.

The fix is to use the constant from python (errno.ECONNREFUSED) instead of
the magical number.

Here is a patch explaining the fix ( connection-refused.patch
<http://qpid.2158936.n2.nabble.com/file/n7642439/connection-refused.patch> 
)

If you are happy with both patches, I would be happy to create a single
patch on the master branch and submit it.

Regards,
Adel Boutros
www.murex.com



--
View this message in context: http://qpid.2158936.n2.nabble.com/Qpid-Dispatcher-Runtime-behavior-on-SunOS-tp7641941p7642439.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message