File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ Describe 'PowerShell adapter resource tests' {
281
281
$env: TestClassResourceResultCount = $null
282
282
}
283
283
284
- It ' Verify that there are no cache rebuids for several sequential executions' {
284
+ It ' Verify that there are no cache rebuilds for several sequential executions' {
285
285
286
286
# remove cache file
287
287
$cacheFilePath = if ($IsWindows ) {
@@ -295,7 +295,7 @@ Describe 'PowerShell adapter resource tests' {
295
295
Join-Path $env: HOME " .dsc" " PSAdapterCache.json"
296
296
}
297
297
}
298
- Remove-Item - Force - Path $cacheFilePath - ErrorAction SilentlyContinue
298
+ Remove-Item - Force - Path $cacheFilePath - ErrorAction Ignore
299
299
300
300
# first execution should build the cache
301
301
dsc - l trace resource list - a Microsoft.DSC/ PowerShell 2> $TestDrive / tracing.txt
Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ Describe 'WindowsPowerShell adapter resource tests' {
71
71
$res.results [0 ].result.actualState.result[0 ].properties.DestinationPath | Should - Be " $testFile "
72
72
}
73
73
74
- It ' Verify that there are no cache rebuids for several sequential executions' - Skip:(! $IsWindows ) {
74
+ It ' Verify that there are no cache rebuilds for several sequential executions' - Skip:(! $IsWindows ) {
75
75
76
76
# remove cache file
77
77
$cacheFilePath = Join-Path $env: LocalAppData " dsc\WindowsPSAdapterCache.json"
78
- Remove-Item - Force - Path $cacheFilePath - ErrorAction SilentlyContinue
78
+ Remove-Item - Force - Path $cacheFilePath - ErrorAction Ignore
79
79
80
80
# first execution should build the cache
81
81
dsc - l trace resource list - a Microsoft.Windows/ WindowsPowerShell 2> $TestDrive / tracing.txt
You can’t perform that action at this time.
0 commit comments