-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[mono][xunit tests] Move skipped tests out of rsp file #2087
[mono][xunit tests] Move skipped tests out of rsp file #2087
Conversation
Thanks. What's the rhyme or reason for which lines were moved to be ActiveIssue and which ones weren't? |
I sent it as a draft with just several first tests moved in order to verify the general way. So I'm going to complete this work, at least for |
Thank you for a quick look! |
07ec772
to
bc6dd61
Compare
Given that the |
37a2154
to
7a0b55a
Compare
...untime.InteropServices/tests/System/Runtime/InteropServices/Marshal/GetExceptionCodeTests.cs
Outdated
Show resolved
Hide resolved
905511b
to
092faed
Compare
3523e4b
to
25119d3
Compare
…ibuteTests.StronglyTypedStructureTest
…ontainerTests.GetExportOfTTMetadataView1_TypeAsMetadataViewTypeArgument_IsUsedAsMetadataConstraint
…mblyLoadContext, out of rsp file
…s with no local failures from rsp file
…stentInDefaultContext and System.Runtime.Loader.Tests.DefaultLoadContextTests.LoadInDefaultContext from rsp file because the related issues should be addressed
…Tests.LoadNonExistentInDefaultContext and System.Runtime.Loader.Tests.DefaultLoadContextTests.LoadInDefaultContext because they fail on CI
… an active issues out of rsp file
…ow they behave on CI
08cf306
to
315a4c8
Compare
…namespace on Mono
src/mono/netcore/System.Private.CoreLib/src/System/Text/Utf8Span.cs
Outdated
Show resolved
Hide resolved
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.
Looks great! I found a few small nits that can be addressed in a follow-up PR.
|
||
using Xunit; | ||
|
||
[assembly: SkipOnMono("Flaky tests: https://github.com/mono/mono/issues/16417")] |
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.
should be
[assembly: SkipOnMono("Flaky tests: https://github.com/mono/mono/issues/16417")] | |
[assembly: ActiveIssue("Flaky tests: https://github.com/mono/mono/issues/16417", TestRuntimes.Mono)] |
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.
Attribute 'ActiveIssue' is not valid on this declaration type. It is only valid on 'class, method' declarations.
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.
Hm interesting. I don't see a good reason not to allow ActiveIssue
on assembly, will file a PR in dotnet/arcade.
@@ -8,9 +8,11 @@ | |||
|
|||
namespace System.ComponentModel.Composition | |||
{ | |||
// [ActiveIssue("https://github.com/mono/mono/issues/16417", TestRuntimes.Mono)] |
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.
commented code, can be removed
// [ActiveIssue("https://github.com/mono/mono/issues/16417", TestRuntimes.Mono)] |
#else | ||
using nint = System.Int32; | ||
using nuint = System.UInt32; | ||
#endif |
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.
nint/nuint isn't used, can be removed.
Addresses #1980