[WIP] Investigate tests that may be intermittently failing on master. DO NOT MERGE - #2702
[WIP] Investigate tests that may be intermittently failing on master. DO NOT MERGE#2702blairconrad wants to merge 20 commits into
Conversation
|
what are you trying, and why are you doing it here? |
|
@jchannon, @thecodejunkie no luck in 20 tries on AppVeyor, but some success on the Travis build:
Do we still consider this to not be a problem on master? |
|
It's very weird since I've never seen it as part of CI failures. We've identified a couple of failing tests, on Travis, which have all been caused by Mono. To be honest I would not rule Mono out this time either since it's currently running on AppVeyor uses .NET Framework |
|
Are they only failing in full fwk targets? We also build for netcore on
both Travis and Appveyor
…On Wed, 8 Feb 2017 at 21:48, Andreas Håkansson ***@***.***> wrote:
It's *very* weird since I've never seen it as part of CI failures. We've
identified a couple of failing tests, on Travis, which have all been caused
by Mono. To be honest I would not rule Mono out this time either since it's
currently running on 4.8.0 (Stable 4.8.0.483/ba7f169 Tue Feb 7 11:47:25
UTC 2017) i.e a new version that came out yesterday. On Travis we are
using latest Mono
https://github.com/NancyFx/Nancy/blob/master/.travis.yml#L2 because prior
versions all had their bugs and @akoeplinger
<https://github.com/akoeplinger> recommended we move to 4.8 since that is
just around the corner.
AppVeyor uses .NET Framework
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2702 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAGapmyhPVZyk0qKzVE4fsGFMx2AiRyWks5rajgggaJpZM4L6UDE>
.
|
|
@thecodejunkie says
@jchannon says
I was running the tests on my home and work machines on Windows, and I see the failures .NET Framework 4.5.2. On master, we build the production code for .NET Core, but not the tests. As I understand things, #2634 is all about starting to build (and run) the tests on .NET Core. |
|
Have either of you tried running |
|
Nope.. not conservative.. I've only seen some tests fail on Travis/Mono and those were all reproducible if you ran the tests in a loop |
|
Okay, just going out on a limb here, I'm suspicious of the static case sensitivity setting. Remember this pair of tests that failed from my rambling account of the tests I got to fail at work last night? Both As @jchannon commented (but I couldn't tell if this was a general comment aimed at all the test-running), disabling parallel testing would probably clear things up.
the changes in #2490 did re-enable parallel test runs for Nancy.Tests. That's it for now. Bedtime. |
|
I'm conducting an experiment, repeatedly running the tests both with and without test parallelization turned on. I should be back with a report later today. |
|
@blairconrad what was the findings of the experiment? It's no unlikely that A while back I also created StaticConfigurationContext to help mitigate race conditions, in tests, that used |
|
@thecodejunkie, I put my findings in #2703 (I was just coming here to make that note when I saw your comment). Maybe we're better off continuing our conversation there? |
|
I see you have! |
Prerequisites
Description