-
-
Notifications
You must be signed in to change notification settings - Fork 940
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
Enable all net48 integration tests and stabilise tests #1456
Conversation
We can merge this one next assuming it passes. No need to create and resolve conflicts in the other branches |
Deal 🥂 |
|
Unfortunately, Mono doesn't implement |
1ebd2ed
to
0f194c3
Compare
So we can run them on Windows. What do you think? |
It is the reason behind #1406
I tried a while back. The problem is running a Linux container on a Windows host, which doesn't seem so easy on CI machines (the way to do it is WSL2 AFAIK but most Windows server images do not come with WSL2). But I'd welcome anyone to try because I'd very much like to see it happen. |
It might be possible now that Windows Server 2022 includes WSL2. The problems I ran into were seemingly related to LCOW (#1220 (comment)). I wouldn't know if it is possible to run docker via WSL2 rather than LCOW in appveyor (I don't really know much about this stuff) |
95e65ba
to
8d58888
Compare
I think there's some work involved here to make sure we don't introduce more unstable tests |
We can consider using BouncyCastle as a fallback when in Mono. (https://www.mono-project.com/docs/faq/technical/#how-can-i-detect-if-am-running-in-mono) Then we can split the code into 3 implementations.
I can have a try when I have time. |
It seems not easy to split |
I kind of expected mono to use a .NET Standard build, but I guess it can use a .NET Framework build as well. The error in #1406 comes from calling Anyway I think it's fine to tweak the public members at this level if needed, especially if it doesn't work in the first place. I'll run the CI on this a couple more times to check for any more misbehaving tests |
2ed3e9d
to
73ab12d
Compare
…t48_integration-test
73ab12d
to
43319dd
Compare
Any idea to stabilize this test? @Rob-Hague
https://ci.appveyor.com/project/drieseng/ssh-net/builds/50322490/job/yo6pooiew5j86wcw The 500ms wait may not enough in unit test. |
Hmm, I would not expect the 500ms to be relevant here because we know OpenSSH implements signals. I think we can ignore that one and see if it happens more often |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
No description provided.