-
Notifications
You must be signed in to change notification settings - Fork 15.6k
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
C# testing improvements #5876
C# testing improvements #5876
Conversation
jtattermusch
commented
Mar 12, 2019
•
edited
Loading
edited
- linux: switch tests to use netcoreapp2.1 (currently some tests are being skipped due to the failure to update buildall.sh in Bump target frameworks of C# programs from netcoreapp1.0 to netcoreapp2.1 #5838)
- add kokoro testing scripts for windows (will be enabled on pull requests later)
- a bit more cleanup
CC @jskeet |
I am getting a failure on netcoreapp2.1, which we didn't catch in #5838. I will try to fix in this PR.
|
Turns out that |
Ah, that'll be a fix to the issue I raised a long time ago :) Previously What's relying on the hash codes being the same to determine equality? Is that a production code issue, or our test infrastructure? |
It's just our testing code
|
Right. So we could just remove that part of the code. It's annoying, as in most cases that's a useful sanity check. Perhaps we should have an optional parameter for "check hash codes as well" that defaults to true, and we could explicitly pass in false for these tests, with a comment? |
fb2a831
to
60a889e
Compare
Sg, I made the check for hashcodes being not equal optional. |
This is now ready to review. |