You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Steve Huston (JIRA)" <qp...@incubator.apache.org> on 2009/10/16 04:06:31 UTC

[jira] Commented: (QPID-2149) Python tests need adjustments for Windows

    [ https://issues.apache.org/jira/browse/QPID-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766374#action_12766374 ] 

Steve Huston commented on QPID-2149:
------------------------------------

I tested the patch on Linux and Windows, FWIW...

> Python tests need adjustments for Windows
> -----------------------------------------
>
>                 Key: QPID-2149
>                 URL: https://issues.apache.org/jira/browse/QPID-2149
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Test Suite
>    Affects Versions: 0.6
>         Environment: Windows
>            Reporter: Steve Huston
>            Assignee: Steve Huston
>             Fix For: 0.6
>
>         Attachments: QPID-2149.patch
>
>
> The python test set that's run against the C++ broker (qpid/python/qpid-python-test) invokes a number of things that don't work on Windows. There are two basic things:
> 1. It uses a pipe to signal between threads to wake up; the pipe's handle is part of a fd set to select(). This doesn't work on Windows since only socket handles work with select().
> 2. Loopback socket connections can apparantly do a connect to IP address 0.0.0.0 and a port and succeed on Linux; this won't work on Windows - it needs to connect to 127.0.0.1.
> I have a patch, which will be attached shortly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org