nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00624
[Bug 602761] [NEW] nunit-agent hangs after tests complete
Public bug reported:
If a test fixture is being run in a different process (using nunit-
agent), every now and then nunit-console will print out the results of
the tests and exit, but the nunit-agent process will hang around
indefinitely.
I believe the issue is with .NET Remoting, specifically the
TestAgent/RemoteTestAgent.Stop operations. Stop is marked as a one-way
call, which tells the .NET Framework that the call can be completed
asynchronously. However, this also means that when nunit-console exits
immediately after calling Stop, the message may never actually be sent
to the nunit-agent.
Recommend removing the OneWay attribute so that the call is completed
synchronously and thereby guaranteed to be delivered.
** Affects: nunitv2
Importance: Undecided
Status: New
--
nunit-agent hangs after tests complete
https://bugs.launchpad.net/bugs/602761
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
Status in NUnit V2 Test Framework: New
Bug description:
If a test fixture is being run in a different process (using nunit-agent), every now and then nunit-console will print out the results of the tests and exit, but the nunit-agent process will hang around indefinitely.
I believe the issue is with .NET Remoting, specifically the TestAgent/RemoteTestAgent.Stop operations. Stop is marked as a one-way call, which tells the .NET Framework that the call can be completed asynchronously. However, this also means that when nunit-console exits immediately after calling Stop, the message may never actually be sent to the nunit-agent.
Recommend removing the OneWay attribute so that the call is completed synchronously and thereby guaranteed to be delivered.
Follow ups
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Charlie Poole, 2011-11-07
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Charlie Poole, 2011-10-28
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: JC, 2011-08-22
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Gregory Bok, 2011-08-11
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Gregory Bok, 2011-08-09
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Mohammed farwana, 2011-07-12
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Svein Ackenhausen, 2011-05-30
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Aaron Jensen, 2011-04-26
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Ace Olszowka, 2011-04-12
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Russell Myers, 2011-03-23
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Russell Myers, 2011-03-21
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Russell Myers, 2011-03-21
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Aaron Jensen, 2011-03-16
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Charlie Poole, 2011-01-28
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Hawkeye Parker, 2011-01-28
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Dean Meyer, 2010-12-20
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Charlie Poole, 2010-12-15
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Anders Juul, 2010-12-11
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Michael Priemaux, 2010-11-02
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: michael.primeaux@xxxxxxxxx, 2010-11-01
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Charlie Poole, 2010-11-01
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Charlie Poole, 2010-11-01
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Charlie Poole, 2010-10-30
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Charlie Poole, 2010-10-30
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Sloan, 2010-10-29
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Rob Burns, 2010-10-08
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Ace Olszowka, 2010-09-27
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Launchpad Bug Tracker, 2010-09-26
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Charlie Poole, 2010-09-26
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Charlie Poole, 2010-09-21
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Ace Olszowka, 2010-09-21
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Charlie Poole, 2010-09-11
-
[Bug 602761] Re: nunit-agent hangs after tests complete
From: Charlie Poole, 2010-07-13
-
[Bug 602761] [NEW] nunit-agent hangs after tests complete
From: Andy Lindeman, 2010-07-07
References