Appveyor - issue with creating PSSession inside tests
Closed this issue · 2 comments
DexterPOSH commented
As part of the integration and unit tests, we create PSSession to the localhost to test things.
These are failing. Created a simple POC for this
Code - https://github.com/DexterPOSH/test/blob/master/build.ps1
Appveyor Build details - See the build messages
DexterPOSH commented
Fixed this issue by specifying -EnableNetworkAccess switch while creating a loopback session.
Strange though !
Guessing that this has to be done with the integration tests as well.
DexterPOSH commented
Fixed with the above workaround.