You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#242 Restoring GetIshDocumentObj.Tests.ps1 on CI because it does no longer test performance, just a simple get, not time consuming. Marking some tests as pester:no-parallel and avoiding hot spots by using more unique LogicalIds per test.
Copy file name to clipboardExpand all lines: Source/ISHRemote/Trisoft.ISHRemote/Cmdlets/Folder/SetIshFolder.Tests.ps1
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
#pester:no-parallel # renames the BaseFolders which could confuse other parallel tests
1
2
BeforeAll {
2
3
$cmdletName="Set-IshFolder"
3
4
Write-Host ("`r`nLoading ISHRemote.PesterSetup.ps1 on PSVersion["+$psversionTable.PSVersion+"] over BeforeAll-block for MyCommand["+$cmdletName+"]...")
Copy file name to clipboardExpand all lines: Source/ISHRemote/Trisoft.ISHRemote/Cmdlets/Settings/GetIshTypeFieldDefinition.Tests.ps1
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
#pester:no-parallel #this test manipulates SessionState variables directly and calls cmdlets that use WriteDebug, both of which are fragile in parallel runspaces.
1
2
BeforeAll {
2
3
$cmdletName="Get-IshTypeFieldDefinition"
3
4
Write-Host ("`r`nLoading ISHRemote.PesterSetup.ps1 on PSVersion["+$psversionTable.PSVersion+"] over BeforeAll-block for MyCommand["+$cmdletName+"]...")
Copy file name to clipboardExpand all lines: Source/ISHRemote/Trisoft.ISHRemote/Cmdlets/_TestEnvironment/TestPrerequisite.Tests.ps1
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
#pester:no-parallel # Checks if the remote system is ready which will fail if other tests are already creating folders
1
2
BeforeAll {
2
3
$cmdletName="TestPrerequisite.Tests.ps1"
3
4
Write-Host ("`r`nLoading ISHRemote.PesterSetup.ps1 on PSVersion["+$psversionTable.PSVersion+"] over BeforeAll-block for MyCommand["+$cmdletName+"]...")
Write-Host"Running ISHRemote.PesterSetup.ps1 Detect version over webServicesConnectionConfigurationUrl[$webServicesConnectionConfigurationUrl] webServicesConnectionConfigurationUrl.Length[$($webServicesConnectionConfigurationUrl.Length)]"
throw"ISHRemote.PesterSetup.ps1: Could not find <infosharesoftwareversion> in response from $webServicesConnectionConfigurationUrl. Response length[$($connectionConfigurationRaw.Length)]"
Copy file name to clipboardExpand all lines: Source/ISHRemote/Trisoft.ISHRemote/Scripts/Public/Start-IshRemoteMcpServer.Tests.ps1
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
#pester:no-parallel #Mock -ModuleName uses cross-module mocking which installs hooks into the ISHRemote module's session state. In a parallel runspace, each worker loads its own ISHRemote module instance, but the mock infrastructure that Mock -ModuleName relies on requires the parent session's module context. This causes the worker runspace to hang waiting for something that never resolves.
1
2
BeforeAll {
2
3
$cmdletName="Start-IshRemoteMcpServer"
3
4
Write-Host ("`r`nLoading ISHRemote.PesterSetup.ps1 on PSVersion["+$psversionTable.PSVersion+"] over BeforeAll-block for MyCommand["+$cmdletName+"]...")
0 commit comments