-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[NO-MERGE, NO-REVIEW] Experiment: try remove test exclusions #125335
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,7 +52,6 @@ private void SetSecret(string id, string key, string value) | |
| } | ||
|
|
||
| [Fact] | ||
| [ActiveIssue("https://github.com/dotnet/runtime/issues/60584", TestPlatforms.iOS | TestPlatforms.tvOS)] | ||
| public void AddUserSecrets_FindsAssemblyAttribute() | ||
| { | ||
| var randValue = Guid.NewGuid().ToString(); | ||
|
|
@@ -67,7 +66,6 @@ public void AddUserSecrets_FindsAssemblyAttribute() | |
| } | ||
|
|
||
| [Fact] | ||
| [ActiveIssue("https://github.com/dotnet/runtime/issues/60584", TestPlatforms.iOS | TestPlatforms.tvOS)] | ||
| public void AddUserSecrets_FindsAssemblyAttributeFromType() | ||
| { | ||
| var randValue = Guid.NewGuid().ToString(); | ||
|
|
@@ -121,7 +119,6 @@ public void AddUserSecrets_DoesThrowsIfNotOptionalAndSecretDoesNotExist() | |
| } | ||
|
|
||
| [Fact] | ||
| [ActiveIssue("https://github.com/dotnet/runtime/issues/60584", TestPlatforms.iOS | TestPlatforms.tvOS)] | ||
| public void AddUserSecrets_With_SecretsId_Passed_Explicitly() | ||
| { | ||
|
Comment on lines
121
to
123
|
||
| var userSecretsId = Guid.NewGuid().ToString(); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,7 +47,6 @@ public class ArrayTests : IDisposable | |
| "; | ||
|
|
||
| [Fact] | ||
| [ActiveIssue("https://github.com/dotnet/runtime/issues/60583", TestPlatforms.iOS | TestPlatforms.tvOS)] | ||
| public void DifferentConfigSources_Merged_KeysAreSorted() | ||
| { | ||
| var config = BuildConfig(); | ||
|
Comment on lines
49
to
52
|
||
|
|
@@ -76,7 +75,6 @@ public void DifferentConfigSources_Merged_KeysAreSorted() | |
| } | ||
|
|
||
| [Fact] | ||
| [ActiveIssue("https://github.com/dotnet/runtime/issues/60583", TestPlatforms.iOS | TestPlatforms.tvOS)] | ||
| public void DifferentConfigSources_Merged_WithOverwrites() | ||
| { | ||
|
Comment on lines
77
to
79
|
||
| var config = BuildConfig(); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -358,7 +358,6 @@ public IConfigurationProvider Build(IConfigurationBuilder builder) | |
| } | ||
|
|
||
| [Fact] | ||
| [ActiveIssue("https://github.com/dotnet/runtime/issues/60583", TestPlatforms.iOS | TestPlatforms.tvOS)] | ||
| public void OnLoadErrorWillBeCalledOnJsonParseError() | ||
| { | ||
| _fileSystem.WriteFile(Path.Combine(_basePath, "error.json"), @"{""JsonKey1"": ", absolute: true); | ||
|
Comment on lines
360
to
363
|
||
|
|
@@ -863,7 +862,6 @@ public void SetBasePathCalledMultipleTimesForEachSourceLastOneWins() | |
| } | ||
|
|
||
| [Fact] | ||
| [ActiveIssue("https://github.com/dotnet/runtime/issues/60583", TestPlatforms.iOS | TestPlatforms.tvOS)] | ||
| public void GetDefaultBasePathForSources() | ||
| { | ||
| var builder = new ConfigurationBuilder(); | ||
|
|
||
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.
Re-enabling this test on iOS/tvOS can still fail because it depends on
PathHelper.GetSecretsPathFromSecretsIdfinding a user profile location (APPDATA/HOME/SpecialFolder paths). Consider settingDOTNET_USER_SECRETS_FALLBACK_DIRto a temp directory during the test run (and restoring it) to avoid platform-specific failures, or keep the platform exclusion.