Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to pull the original repo to my fork #2

Open
wants to merge 95 commits into
base: master
Choose a base branch
from

Conversation

danielleiszen
Copy link
Owner

If I did something wrong, please ignore this request.

lrasmus and others added 30 commits June 19, 2018 11:16
Running "docker build --rm -f FlushCrashApp.Dockerfile ." while in linux
containers docker mode results in an error of "A callback was made on
a garbage collected delegate of type 'RDotNet!RDotNet.Internals.Unix.ptr_R_FlushConsole::Invoke' "
This results in a app crashing when these callbacks get invoked later.
Assigning the delegates to class fields ensures they don't get
garbage collected.
Is not needed here and causes test command to fail.
This causes warning:
warning NU1701: Package 'xunit.runner.visualstudio 2.3.1' was restored using
'.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'.
This package may not be fully compatible with your project.

and error:
Catastrophic failure: System.TypeLoadException: Could not load type 'System.Runtime.Remoting.Channels.IChannel'
from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
   at Xunit.RemotingUtility.CleanUpRegisteredChannels()
   at Xunit.Runner.VisualStudio.VsTestRunner.RunTests(IRunContext runContext, IFrameworkHandle frameworkHandle,
   LoggerHelper logger, TestPlatformContext testPlatformContext, Func`1 getRunInfos)
   in C:\Dev\xunit\xunit\src\xunit.runner.visualstudio\VsTestRunner.cs:line 395
Fix issue where callback delegates get garbage collected on linux
…ws. Unit tests may not have a repeatable behavior. Some can fail uncder VStudio test explorer.
…ologies

# Conflicts:
#	RDotNet.TestBase/RDotNet.TestBase.csproj
Jean-Michel Perraud and others added 30 commits October 7, 2020 22:51
(cherry picked from commit 41f7315)
… for unknown reasons even after fresh checkout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants