Setting global verify setting fails on startup in Verify.XunitV3 #1500
Replies: 1 comment
-
I think I might've realised that the test project in question depends on another test project which annoyingly has the same module initializer calling the same That project is effectively a test utils and tests containing project which is never a good thing. I can solve it with an interlocked exchange in the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @SimonCropp ,
We have the following, ad-hoc but recurring (sort of one in every 2 CI builds) issue:
The thing is:
TestContextNormalizingHelper.InitializeVerifierSettings
from a module initializer that looks like this:Init()
and inStartAsync
, I see thatInit()
is called first implying that the module initializer is calls it before the startup pipeline, so my attempted fix is also useless.Any suggestions!? I'm not sure if this is a Verify issue, Xunit V3 issue or even .net runtime issue, because we upgraded all three at the same time.
Current stack:
Beta Was this translation helpful? Give feedback.
All reactions