File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed
Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 11# requires -Module PowerShellLogging
2- Describe " Working when called inside PowerShell.Invoke" {
2+ Describe " Working when called inside PowerShell.Invoke (as long as we Remove-Module) " {
33
44 $Path = " TestDrive:\log.txt"
55 $Path = (Join-Path (Convert-Path (Split-Path $Path )) (Split-Path $Path - Leaf))
Original file line number Diff line number Diff line change 11# requires -Module PowerShellLogging , ThreadJob
22param ($Count = 4 )
33
4- Describe " Working when called in a remote runspace " - Tag " Remoting" {
4+ Describe " Working when called in parallel in remote runspaces " - Tag " Remoting" {
55
66 $Path = " TestDrive:\log{0}.txt"
77 $Path = (Join-Path (Convert-Path (Split-Path $Path )) (Split-Path $Path - Leaf))
Original file line number Diff line number Diff line change 11# requires -Module PowerShellLogging , ThreadJob
22param ($Count = 2 )
33
4- Describe " Working when called in a remote runspace " - Tag " ThreadJob" , " WIP" {
4+ Describe " Working when called simultaneously in parallel runspaces " - Tag " ThreadJob" , " WIP" {
55
66 $Path = " TestDrive:\log{0}.txt"
77 $Path = (Join-Path (Convert-Path (Split-Path $Path )) (Split-Path $Path - Leaf))
Original file line number Diff line number Diff line change 11# requires -Module PowerShellLogging
2- Describe " Working when called in a parallel runspace" {
2+ Describe " Working when called synchronously in a parallel runspace (as long as we Remove-Module) " {
33
44 $Path = " TestDrive:\log.txt"
55 $Path = (Join-Path (Convert-Path (Split-Path $Path )) (Split-Path $Path - Leaf))
Original file line number Diff line number Diff line change 11# requires -Module PowerShellLogging
2- Describe " Working in scripts run locally in the host" {
2+ Describe " Working in scripts run locally in the host (as long as we Remove-Module) " {
33
44 $Path = " TestDrive:\log.txt"
55 $Path = (Join-Path (Convert-Path (Split-Path $Path )) (Split-Path $Path - Leaf))
@@ -14,6 +14,7 @@ Describe "Working in scripts run locally in the host" {
1414 Write-Verbose ' This is a verbose test' - verbose
1515 Write-Verbose ' This is a another verbose test'
1616 Disable-LogFile $Logging
17+ Remove-Module PowerShellLogging
1718 }
1819
1920 It " Should not crash when used" {
You can’t perform that action at this time.
0 commit comments