From 4086644de7f44358ca2701694aad14626aaa8beb Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Tue, 28 Jun 2016 19:33:31 -0700 Subject: [PATCH] Disable JIT cache tests This test fails since we've disabled the JIT cache entirely. --- test/powershell/Base-Directory.Tests.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/powershell/Base-Directory.Tests.ps1 b/test/powershell/Base-Directory.Tests.ps1 index 7e517fa8c1..b25c9203e4 100644 --- a/test/powershell/Base-Directory.Tests.ps1 +++ b/test/powershell/Base-Directory.Tests.ps1 @@ -50,7 +50,8 @@ Describe "Configuration file locations" { & $powershell -noprofile { (Get-PSReadlineOption).HistorySavePath } | Should Be $expectedReadline } - It @ItArgs "JIT cache should be created correctly" { + # This feature (and thus test) has been disabled because of the AssemblyLoadContext scenario + It "JIT cache should be created correctly" -Skip { Remove-Item -ErrorAction SilentlyContinue $expectedCache & $powershell -noprofile { exit } $expectedCache | Should Exist @@ -105,7 +106,8 @@ Describe "Configuration file locations" { & $powershell -noprofile { (Get-PSReadlineOption).HistorySavePath } | Should Be $expected } - It @ItArgs "JIT cache should respect XDG_CACHE_HOME" { + # This feature (and thus test) has been disabled because of the AssemblyLoadContext scenario + It -Skip "JIT cache should respect XDG_CACHE_HOME" { $env:XDG_CACHE_HOME = $TestDrive $expected = [IO.Path]::Combine($TestDrive, "powershell", "StartupProfileData-NonInteractive") Remove-Item -ErrorAction SilentlyContinue $expected