Open JustinGrote opened 3 years ago
What version of Pester are you running? I run Register-SecretVault
in my Pester tests and have not seen any problems. At this point it is unknown if the hang is in SecretManagement
, the extension vault, or Pester
. You should attach a debugger to find out where the hang is.
@PaulHigin 5.1.1, I'll try to collect more detail I just wanted to get this info out there when I ran into it, since you weren't able to reproduce it may just be me.
Test Snippet
Expected
Will register as expected
Actual
Completely hangs uncancellable, requires restart
Workaround
If you explicity make
$SingleEntryCSVPath
a[String]$SingleEntryCSVPath
, it works fine. If you run the command directly on the terminal it seems to work fine, only happens when I run it as a pester test strangely.