Make logging tests for macOS pending (#7433)

This commit is contained in:
Dongbo Wang
2018-08-01 16:49:39 -07:00
committed by GitHub
parent 344878dcbb
commit 73b6d810bd
+6 -2
View File
@@ -201,7 +201,10 @@ Describe 'Basic os_log tests on MacOS' -Tag @('CI','RequireSudoOnUnix') {
}
}
It 'Verifies basic logging with no customizations' -Skip:(!$IsSupportedEnvironment) {
## Logging seems broken on macOS 10.13. It works fine on macOS 10.12.6.
## Travis CI updated macOS to 10.13.3 (kernel 17.4) and the logging tests start to fail.
# It 'Verifies basic logging with no customizations' -Skip:(!$IsSupportedEnvironment) {
It 'Verifies basic logging with no customizations' -Pending {
$configFile = WriteLogSettings -LogId $logId
& $powershell -NoProfile -SettingsFile $configFile -Command '$env:PSModulePath | out-null'
@@ -220,7 +223,8 @@ Describe 'Basic os_log tests on MacOS' -Tag @('CI','RequireSudoOnUnix') {
}
}
It 'Verifies logging level filtering works' -Skip:(!$IsSupportedEnvironment) {
# It 'Verifies logging level filtering works' -Skip:(!$IsSupportedEnvironment) {
It 'Verifies logging level filtering works' -Pending {
$configFile = WriteLogSettings -LogId $logId -LogLevel Warning
& $powershell -NoProfile -SettingsFile $configFile -Command '$env:PSModulePath | out-null'