Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Console pauses indefinitely during run
Grendil
#1 Posted : Wednesday, August 9, 2017 7:15:08 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 3/18/2017(UTC)
Posts: 54
Location: United States of America

Thanks: 22 times
Was thanked: 11 time(s) in 10 post(s)
We have been trying out the console runner against a grid of 8 test runners. We frequently find that the console output pauses somewhere along the way, and at that point there appears to be no activity on the grid nodes or the local machine. If we do nothing, nothing further happens for at least 30 minutes (at which point our patience ran out :) ). But if we hit CTRL-C at any moment during the pause, the console runner immediately springs back to life, with more output appearing in the console and work activity appearing on the nodes.

Exact reproduction steps for this are hard to come up with, but the behavior is happening frequently and on different test running machines.

Is there a way to send the console app's logging to a file?

Remco suggested to me that this might be a buffering issue with the console output. Is there a way to have less output from the console?
Remco
#2 Posted : Wednesday, August 9, 2017 11:12:43 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 930 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi, thanks for sharing this problem.

It's possible to redirect the console app's logging by using the standard command-line I/O redirection, for example:

ncrunch.exe mysolution.sln > c:\logs\logfile.txt

It's possible to adjust the log verbosity on the tool to reduce the amount of data being spit out. This can be done by adding '-LogVerbosity Summary' to the command line, for example:

ncrunch.exe mysolution.sln -LogVerbosity Summary
1 user thanked Remco for this useful post.
Grendil on 8/9/2017(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.030 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download