Skip to content

Instantly share code, notes, and snippets.

@wholroyd
Last active September 17, 2015 02:21
Show Gist options
  • Save wholroyd/655e32dd904d11257c9f to your computer and use it in GitHub Desktop.
Save wholroyd/655e32dd904d11257c9f to your computer and use it in GitHub Desktop.
xunit runner hanging after all tests ran/failed/skipped
xUnit.net DNX Runner (64-bit DNX 4.5.1)
Discovering: fake-dnx.tests
Discovered: fake-dnx.tests
Starting: fake-dnx.tests
fake_dnx.tests.HomeControllerTests.TestingTheDnxTestCommand [FAIL]
Assert.True() Failure
Expected: True
Actual: False
Stack Trace:
at fake_dnx.tests.HomeControllerTests.TestingTheDnxTestCommand () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Finished: fake-dnx.tests
=== TEST EXECUTION SUMMARY ===
fake-dnx.tests Total: 2, Errors: 0, Failed: 1, Skipped: 0, Time: 0.555s
"<unnamed thread>" tid=0x0x7f36733fe700 this=0x0x7f3673906580 thread handle 0x4b5 state : waiting on 0x4b3 : Event owns ()
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <0xffffffff>
at System.Threading.WaitHandle.WaitOne () <0x0005c>
at Xunit.Sdk.XunitWorkerThread.Join () <0x0001a>
at Xunit.Sdk.MaxConcurrencySyncContext.Dispose () <0x0007f>
at Xunit.Sdk.XunitTestAssemblyRunner.Dispose () <0x00025>
at Xunit.Sdk.XunitTestFrameworkExecutor/<RunTestCases>d__6.MoveNext () <0x00298>
at System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner.InvokeMoveNext (object) <0x000be>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) <0x0009b>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00016>
at System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner.Run () <0x000ca>
at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.<s_postCallback>m__0 (object) <0x0003c>
at Xunit.Sdk.MaxConcurrencySyncContext.RunOnSyncContext (System.Threading.SendOrPostCallback,object) <0x0005a>
at Xunit.Sdk.MaxConcurrencySyncContext/<>c__DisplayClass11_0.<WorkerThreadProc>b__0 (object) <0x0002f>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) <0x0009b>
at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,object,object) <0x00061>
at Xunit.Sdk.ExecutionContextHelper.Run (object,System.Action`1<object>) <0x00042>
at Xunit.Sdk.MaxConcurrencySyncContext.WorkerThreadProc () <0x001a7>
at Xunit.Sdk.XunitWorkerThread/<>c.<QueueUserWorkItem>b__5_0 (object) <0x00052>
at System.Threading.Tasks.Task.InnerInvoke () <0x00085>
at System.Threading.Tasks.Task.Execute () <0x00046>
at System.Threading.Tasks.Task.ExecutionContextCallback (object) <0x0004e>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) <0x0009b>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00016>
at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) <0x00109>
at System.Threading.Tasks.Task.ExecuteEntry (bool) <0x000f1>
at System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork (object) <0x00050>
at System.Threading.Thread.StartInternal () <0x000f6>
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment