Skip to content

Commit f881ce7

Browse files
authored
[mono][tests] Disable failing library tests on linux-bionic (#93108)
* Disable IntrinsicsInSystemPrivateCoreLibUnitTest tests * Disable NegotiateAuthenticationTests tests * Disable System.Runtime.Caching tests
1 parent 9634520 commit f881ce7

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

src/libraries/System.Net.Security/tests/UnitTests/NegotiateAuthenticationTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public void Constructor_Overloads_Validation()
3232
}
3333

3434
[Fact]
35+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93104")]
3536
public void RemoteIdentity_ThrowsOnUnauthenticated()
3637
{
3738
NegotiateAuthenticationClientOptions clientOptions = new NegotiateAuthenticationClientOptions { Credential = s_testCredentialRight, TargetName = "HTTP/foo" };
@@ -65,6 +66,7 @@ public void RemoteIdentity_ThrowsOnDisposed()
6566
}
6667

6768
[Fact]
69+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93104")]
6870
public void Package_Unsupported()
6971
{
7072
NegotiateAuthenticationClientOptions clientOptions = new NegotiateAuthenticationClientOptions { Package = "INVALID", Credential = s_testCredentialRight, TargetName = "HTTP/foo" };
@@ -96,6 +98,7 @@ public void Package_Unsupported_NTLM()
9698

9799
[Fact]
98100
[SkipOnPlatform(TestPlatforms.Windows, "The test is specific to GSSAPI / Managed implementations of NegotiateAuthentication")]
101+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93104")]
99102
public void DefaultNetworkCredentials_NTLM_DoesNotThrow()
100103
{
101104
NegotiateAuthenticationClientOptions clientOptions = new NegotiateAuthenticationClientOptions { Package = "NTLM", Credential = CredentialCache.DefaultNetworkCredentials, TargetName = "HTTP/foo" };

src/libraries/System.Private.CoreLib/tests/IntrinsicsInSystemPrivatecoreLibAnalyzer.Tests/IntrinsicsInSystemPrivateCoreLibUnitTests.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ class PackedSimd
9090
9191
";
9292
[Fact]
93+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
9394
public async Task TestMethodUnprotectedUse()
9495
{
9596
var test = BoilerPlate + @"
@@ -109,6 +110,7 @@ static void FuncBad()
109110
}
110111

111112
[Fact]
113+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
112114
public async Task TestMethodUnprotectedUseWithIntrinsicsHelperAttribute()
113115
{
114116
var test = BoilerPlate + @"
@@ -129,6 +131,7 @@ static void FuncGood()
129131
}
130132

131133
[Fact]
134+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
132135
public async Task TestMethodUnprotectedUseWithIntrinsicsHelperAttributeComplex()
133136
{
134137
var test = BoilerPlate + @"
@@ -154,6 +157,7 @@ static void FuncGood()
154157
}
155158

156159
[Fact]
160+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
157161
public async Task TestMethodUnprotectedUseInLocalFunctionWithIntrinsicsHelperAttributeNotOnLocalFunction()
158162
{
159163
var test = BoilerPlate + @"
@@ -179,6 +183,7 @@ static void LocalFunc()
179183
}
180184

181185
[Fact]
186+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
182187
public async Task TestMethodUnprotectedUseInLambdaWithIntrinsicsHelperAttributeOnOuterFunction()
183188
{
184189
var test = BoilerPlate + @"
@@ -204,6 +209,7 @@ static void FuncBad()
204209
}
205210

206211
[Fact]
212+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
207213
public async Task TestMethodUnprotectedUseInLocalFunctionWithIntrinsicsHelperAttributeOnLocalFunction()
208214
{
209215
var test = BoilerPlate + @"
@@ -229,6 +235,7 @@ static void LocalFunc()
229235
}
230236

231237
[Fact]
238+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
232239
public async Task TestMethodUnprotectedNestedTypeUse()
233240
{
234241
var test = BoilerPlate + @"
@@ -268,6 +275,7 @@ static void FuncGood()
268275

269276

270277
[Fact]
278+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
271279
public async Task TestMethodWithIfStatementButWithInadequateHelperMethodAttribute()
272280
{
273281
var test = BoilerPlate + @"
@@ -309,6 +317,7 @@ static void FuncBad()
309317
}
310318

311319
[Fact]
320+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
312321
public async Task TestMethodWithIfStatementWithNestedAndBaseTypeLookupRequired()
313322
{
314323
var test = BoilerPlate + @"
@@ -328,6 +337,7 @@ static void FuncGood()
328337
}
329338

330339
[Fact]
340+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
331341
public async Task TestMethodWithTernaryOperator()
332342
{
333343
var test = BoilerPlate + @"
@@ -346,6 +356,7 @@ static bool FuncGood()
346356
}
347357

348358
[Fact]
359+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
349360
public async Task TestMethodWithIfStatementWithOrOperationCase()
350361
{
351362
var test = BoilerPlate + @"
@@ -375,6 +386,7 @@ static void FuncGood()
375386
}
376387

377388
[Fact]
389+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
378390
public async Task TestMethodWithIfStatementWithOrOperationCaseWithImplicationProcessingRequired()
379391
{
380392
var test = BoilerPlate + @"
@@ -404,6 +416,7 @@ static void FuncGood()
404416
}
405417

406418
[Fact]
419+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
407420
public async Task TestMethodWithIfStatementAroundLocalFunctionDefinition()
408421
{
409422
var test = BoilerPlate + @"
@@ -433,6 +446,7 @@ void LocalFunction()
433446
}
434447

435448
[Fact]
449+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
436450
public async Task TestMethodWithIfStatementAroundLambdaFunctionDefinition()
437451
{
438452
var test = BoilerPlate + @"
@@ -459,6 +473,7 @@ static void FuncGood()
459473
}
460474

461475
[Fact]
476+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
462477
public async Task TestHelperMethodsCanOnlyBeCalledWithAppropriateIsSupportedChecksError()
463478
{
464479
var test = BoilerPlate + @"
@@ -509,6 +524,7 @@ static void FuncBad()
509524
await VerifyCS.VerifyAnalyzerAsync(test, expected, expected2, expected3, expected4, expected5);
510525
}
511526
[Fact]
527+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
512528
public async Task TestHelperMethodsCanOnlyBeCalledWithAppropriateIsSupportedChecksSuccess()
513529
{
514530
var test = BoilerPlate + @"
@@ -549,6 +565,7 @@ static void FuncGood()
549565
}
550566

551567
[Fact]
568+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
552569
public async Task TestHelperMethodsUnrelatedPropertyDoesntHelp()
553570
{
554571
var test = BoilerPlate + @"
@@ -579,6 +596,7 @@ static void FuncBad()
579596
}
580597

581598
[Fact]
599+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
582600
public async Task TestHelperMethodsWithHelperProperty()
583601
{
584602
var test = BoilerPlate + @"
@@ -609,6 +627,7 @@ static void FuncGood()
609627

610628

611629
[Fact]
630+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93103")]
612631
public async Task TestMethodUseOfIntrinsicsFromWithinOtherMethodOnIntrinsicType()
613632
{
614633
var test = @"

src/libraries/System.Runtime.Caching/tests/System.Runtime.Caching/MemoryCacheTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,6 +1510,7 @@ public class MemoryCacheTestExpires4
15101510
public static bool SupportsPhysicalMemoryMonitor => MemoryCacheTest.SupportsPhysicalMemoryMonitor;
15111511

15121512
[ConditionalFact(nameof(SupportsPhysicalMemoryMonitor))]
1513+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93106")]
15131514
public async Task TestCacheShrink()
15141515
{
15151516
const int HEAP_RESIZE_THRESHOLD = 8192 + 2;
@@ -1569,6 +1570,7 @@ public class MemoryCacheTestExpires5
15691570
public static bool SupportsPhysicalMemoryMonitor => MemoryCacheTest.SupportsPhysicalMemoryMonitor;
15701571

15711572
[ConditionalFact(nameof(SupportsPhysicalMemoryMonitor))]
1573+
[SkipOnPlatform(TestPlatforms.LinuxBionic, "https://github.com/dotnet/runtime/issues/93106")]
15721574
public async Task TestCacheExpiryOrdering()
15731575
{
15741576
var config = new NameValueCollection();

0 commit comments

Comments
 (0)