Forum member
GreenMoose
511 posts
Posts by GreenMoose
-
Supported vs2017 versions?
Hi. I use vstudio2017 15.7 and wait with upgrading to 15.8 since I read in this forum there are some issues (e.g. [url=https://github.com/aspnet/Mvc/pull/8073]GH-8073[/url]) with the newer 15.8 version? Is there a list with "known issues" for the newer vs versions that one can keep an eye on i…
05 Sep 2018 08:14 UTC
-
Ensure test resource is initialized with parallel testing?
[v3.17.0.2] I have a test project where a static initialization requires a startup-initialization of a resource which then tests are using. Is there a way to tell NCrunch to run this initialization "isolated" in the context of current test node ("local" or grid nodes)? E.g. I have test1+2 r…
26 Jun 2018 12:14 UTC
-
Console tool and impacted tests, failed tests becomes ignored?
[quote=Remco;12307]Where tests are excluded using the 'Tests to execute automatically' filter, the engine won't queue them for execution. Thus they won't have a result reported by the run as they also aren't considered to be 'ignored'. I guess this is probably also related to your other question, …
25 Jun 2018 12:51 UTC
-
Console tool, custom environment variables with connection string not picked up
So I added the custom environment variables as an engine mode and it now correctly picks it up My current config is as follows: [spoiler] <GlobalConfiguration> <Settings> <GridServerReferencesForComputer> <Value>node1>ZZZ=</Value> </GridServerReferencesForComputer> <…
25 Jun 2018 07:48 UTC
-
Console tool, custom environment variables with connection string not picked up
Its environment variables that are defined in solution file. Currently for me I can simply remove them from there since I am currently the only one in the team for this project :) (But those settings override default app.config which determines "Ncrunch or not behavior", that's why it's in solution…
25 Jun 2018 05:04 UTC
-
Console tool, custom environment variables with connection string not picked up
Hrm so if I understand it correctly NCrunch picks up settings in the following order [code]global config or "/c configFile" switch to console -> solution config -> "-setting val" switch to console or solution .user config.[/code] But since there are variables I cannot declare via console parameter…
24 Jun 2018 10:07 UTC
-
Console tool, custom environment variables with connection string not picked up
[NCrunch Console Tool v3.17.0.2 I cannot get it to work with supplying custom environment variables via a generated config file, it does pick up the other two though. What am I doing wrong? :| [spoiler] [13:33:20][Step 6/8] Removing old 'X:\_tmp\ncrunchConfig.xml'. [13:33:20][Step 6/8] Writi…
21 Jun 2018 11:43 UTC
-
Console tool, determine on which grid node a test failed on?
I see test failures in build log, but how can I determine on what grid node test was executed on? [code] [12:00:33] : [NUnitTests : XXX.Tests.NUnitTests.DALFixtures.GroupFixtures.SomeFixture.CanDoSomething] [Test Output] at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update(ISessionFactor…
21 Jun 2018 10:18 UTC
-
Console tool, "ERROR:" not reported back to TeamCity?
[NCrunch Console Tool v3.17.0.2] My build on teamcity passed, but looking in logs NCrunch reported an error in output. Shouldn't this be reported towards teamcity as an error? And also shouldn't it result in a failure exit code? [spoiler] [h][11:42:18][Step 6/8] [?-1] ERROR: Setting 'GridServer…
21 Jun 2018 09:52 UTC
-
Optimize reuse of TestHost*.exe processes
[quote=Remco;12369]Something I could suggest is to try and organise your tests between projects so that tests with a similar running time will be inside the same project.[/quote] We are pretty heavy with integration testing (~6 000 db tests) so this is almost what we started out with, but it makes …
21 Jun 2018 07:50 UTC
-
Console tool, -GridServerReferencesForSolution results in InvalidCastException
Is there a plan to fix this in a foreseeable future? (It feels awkward having to create a config xml file dynamically just for this setting, in order to support TC build parameters, which also results in another file one needs to take care of cleaning up between builds to avoid undesirable build be…
21 Jun 2018 07:11 UTC
-
Optimize reuse of TestHost*.exe processes
Thanks. Yeah it's a pity that the tradeoff of having manageable test projects (i.e. reasonable compile/process times) has the side effect of causing large batch test runs go slower due to static one-time initializations. I guess the basic restriction here one cannot load multiple test projects in…
21 Jun 2018 07:01 UTC
-
Console tool, -GridServerReferencesForSolution results in InvalidCastException
Nothing? :) FWIW, I also get same error if using multiple nodes in the parameter like "node>encryptedText123=;node2>encryptedText123=" .
19 Jun 2018 15:43 UTC
-
Optimize reuse of TestHost*.exe processes
A follow-up when I did a test with grid nodes connected, just for FYI :) I created a simple counter in a shared file for tests explicitly using the Database (which requires NHibernate spin-up). This file was not touch by non-db tests, and the number in it was bumped on each new process. I had 1 …
19 Jun 2018 13:42 UTC
-
Console tool, "MaxNumberOfProcessingThreads" vs CPU cores assigned to NCrunch ?
[quote=Remco;12340]It will, however, still be constrained by the MaxNumberOfProcessingThreads setting.[/quote] Related to this setting, for my grid node (shared 4 core computer, same as build agent uses) I have set this to 2 which I hoped would allow 2 build tasks and 2 parallel test runners but le…
19 Jun 2018 07:37 UTC
-
Optimize reuse of TestHost*.exe processes
[quote=Remco;12351]How have you configured NHibernate to start up? Is this being done once per process using static state?[/quote] Yeah, once per process using static state. When I rerun it this morning to verify (although I rebooted computer yesterday) I cannot reproduce it either (it reuses t…
19 Jun 2018 06:48 UTC
-
Console tool, is setting "Analyse line execution times" used?
Hi, I noticed the log contains "Analyse line execution times = 'True'", I would guess this setitng doesn't matter with console tool, but is it so? Maybe "(Not used)" suffix or similar to distinguish settings valid for the console tool would be a good idea to help out users figuring out what s…
18 Jun 2018 12:08 UTC
-
Console tool, limit memory usage of NCrunch.exe?
Is there a way to limit the memory usage of NCrunch.exe ? I guess NCrunch.exe itself is not anything that can be tweaked via configuration settings? [b]Bakground[/b] A build agent with 8GB RAM seems to be insufficient since building NCrunch on that agent, with weird delays in loading times like …
18 Jun 2018 10:58 UTC
-
Optimize reuse of TestHost*.exe processes
[quote=Remco;12345]Thanks for sharing this problem. Is there any chance you could submit a bug report? The volume of log data here might reduce the effectiveness of the bug report system, but there's still a chance I might be able to find useful information in there. [/quote] Bug report submitte…
18 Jun 2018 07:07 UTC
-
Optimize reuse of TestHost*.exe processes
[v3.17.0.2] I have recently come back to work in a large solution (with 14k tests) and I notice whenever I run non-trivial amount of tests the throughput with NCrunch is dreadfully slow (compared to how I remembered it). I noticed that TestHost processes are constantly being created/terminated. …
15 Jun 2018 14:37 UTC