You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "TJ Kolev (JIRA)" <ji...@apache.org> on 2009/01/13 04:03:00 UTC

[jira] Created: (LUCENENET-168) Sporadic failures in TestRemoteSearchable.cs

Sporadic failures in TestRemoteSearchable.cs
--------------------------------------------

                 Key: LUCENENET-168
                 URL: https://issues.apache.org/jira/browse/LUCENENET-168
             Project: Lucene.Net
          Issue Type: Bug
         Environment: Windows Server 2003, .Net 3.5
            Reporter: TJ Kolev
            Priority: Trivial


NUnit test TestRemoteSearchable.cs fails with SocketException.

Lucene.Net.Search.TestRemoteSearchable.TestPhraseQuery:
System.Net.Sockets.SocketException : Only one usage of each socket address (protocol/network address/port) is normally permitted
at System.Runtime.Remoting.Channels.Http.HttpServerChannel.StartListening(Object data)
at System.Runtime.Remoting.Channels.Http.HttpServerChannel.SetupChannel()
at System.Runtime.Remoting.Channels.Http.HttpServerChannel..ctor(Int32 port)
at System.Runtime.Remoting.Channels.Http.HttpChannel..ctor(Int32 port)
at Lucene.Net.Search.TestRemoteSearchable.SetUp() in D:\svn_lucene\src\Test\Search\TestRemoteSearchable.cs:line 47

tjk :)

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


[jira] Closed: (LUCENENET-168) Sporadic failures in TestRemoteSearchable.cs

Posted by "Digy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digy closed LUCENENET-168.
--------------------------

    Resolution: Fixed
      Assignee: Digy

Patch applied.

DIGY

> Sporadic failures in TestRemoteSearchable.cs
> --------------------------------------------
>
>                 Key: LUCENENET-168
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-168
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: Windows Server 2003, .Net 3.5
>            Reporter: TJ Kolev
>            Assignee: Digy
>            Priority: Trivial
>         Attachments: TestRemoteSearchable.cs.patch
>
>
> NUnit test TestRemoteSearchable.cs fails with SocketException.
> Lucene.Net.Search.TestRemoteSearchable.TestPhraseQuery:
> System.Net.Sockets.SocketException : Only one usage of each socket address (protocol/network address/port) is normally permitted
> at System.Runtime.Remoting.Channels.Http.HttpServerChannel.StartListening(Object data)
> at System.Runtime.Remoting.Channels.Http.HttpServerChannel.SetupChannel()
> at System.Runtime.Remoting.Channels.Http.HttpServerChannel..ctor(Int32 port)
> at System.Runtime.Remoting.Channels.Http.HttpChannel..ctor(Int32 port)
> at Lucene.Net.Search.TestRemoteSearchable.SetUp() in D:\svn_lucene\src\Test\Search\TestRemoteSearchable.cs:line 47
> tjk :)

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


[jira] Updated: (LUCENENET-168) Sporadic failures in TestRemoteSearchable.cs

Posted by "TJ Kolev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

TJ Kolev updated LUCENENET-168:
-------------------------------

    Attachment: TestRemoteSearchable.cs.patch

A patch is attached:
 - Calls HttpChannel(0) constructor to get and bind to an available port allocated by the system, rather than picking a port at rendom.
 - Uses [TestFixtureSetUp] and [TestFixtureTearDown] to setup one server for all tests in the fixture.
 - A static variable for the remote type name, rather than a literal string.

tjk :)

> Sporadic failures in TestRemoteSearchable.cs
> --------------------------------------------
>
>                 Key: LUCENENET-168
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-168
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: Windows Server 2003, .Net 3.5
>            Reporter: TJ Kolev
>            Priority: Trivial
>         Attachments: TestRemoteSearchable.cs.patch
>
>
> NUnit test TestRemoteSearchable.cs fails with SocketException.
> Lucene.Net.Search.TestRemoteSearchable.TestPhraseQuery:
> System.Net.Sockets.SocketException : Only one usage of each socket address (protocol/network address/port) is normally permitted
> at System.Runtime.Remoting.Channels.Http.HttpServerChannel.StartListening(Object data)
> at System.Runtime.Remoting.Channels.Http.HttpServerChannel.SetupChannel()
> at System.Runtime.Remoting.Channels.Http.HttpServerChannel..ctor(Int32 port)
> at System.Runtime.Remoting.Channels.Http.HttpChannel..ctor(Int32 port)
> at Lucene.Net.Search.TestRemoteSearchable.SetUp() in D:\svn_lucene\src\Test\Search\TestRemoteSearchable.cs:line 47
> tjk :)

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