Disable / fix failing test in runincontext testing (#43663)
authorJan Vorlicek <janvorli@microsoft.com>
Wed, 21 Oct 2020 13:53:43 +0000 (15:53 +0200)
committerGitHub <noreply@github.com>
Wed, 21 Oct 2020 13:53:43 +0000 (15:53 +0200)
commite19294624d34f5b2e4d58176955e38982c59e235
tree732bf2c833a03298d9f10d5f7dae2903f9049a96
parentdc7b1d2c942b44bcdb2fbd12727a495cf8d57d9e
Disable / fix failing test in runincontext testing (#43663)

* Disable all profiler tests since they launch a secondary process
  and process launch creates an infinite event loop in the
  SocketAsyncEngine on Linux. Since runincontext loads even
  framework assemblies into the unloadable context, locals in this
  loop prevent unloading.
  The tests were working before Process.Start moved to using sockets.
* Fix the multifoldertest to work under runincontext - the shell
  script generated from the .csproj was passing an absolute path
  for the multifolder.dll to the runincontext.sh/cmd instead of
  a relative path that is used in all other tests and that the
  runincontext expects.
12 files changed:
src/tests/profiler/elt/slowpatheltenter.csproj
src/tests/profiler/elt/slowpatheltleave.csproj
src/tests/profiler/eventpipe/eventpipe.csproj
src/tests/profiler/eventpipe/eventpipe_readevents.csproj
src/tests/profiler/gc/gc.csproj
src/tests/profiler/gc/gcbasic.csproj
src/tests/profiler/rejit/rejit.csproj
src/tests/profiler/unittest/getappdomainstaticaddress.csproj
src/tests/profiler/unittest/metadatagetdispenser.csproj
src/tests/profiler/unittest/releaseondetach.csproj
src/tests/readytorun/multifolder/multifolder.csproj
src/tests/tracing/eventpipe/rundownvalidation/rundownvalidation.csproj