JetBrains / JetBrains/integration-tests-vm-scripts
Exception thrown from PowerOn.ps1
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 4
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
I invoke the Integration test as shown below. It fails on the binding of the parameters.
.\Platform\build\TestProduct\Impl\IntegrationTests.ps1 -GuestCredentials "guest_login","pass" -FilesToTest "C:\Tests" -cloneNamePattern "Win7-64bit-TS51-SQL" -VmName "Win7-64bit-TS51-SQL_20140723+Clean" -ViServerData VCenter, USERNAME, PASSWORD
Cannot bind positional parameters because no names were given.
At C:\Users\boris.m\Documents\GitHub\TeamCity-extensions\Platform\build\TestProduct\Impl\InTest\PowerOn.ps1:38 char:39
-
$jA.data = Receive-Job <<<< -Job $j- CategoryInfo : InvalidArgument: (:) [VirtualEnvironment.ps1], ParameterBindingException
- FullyQualifiedErrorId : AmbiguousPositionalParameterNoName,VirtualEnvironment.ps1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the command shown in the issue and inspect Platform/build/TestProduct/Impl/InTest/PowerOn.ps1 at line 38, along with the IntegrationTests.ps1 parameter invocation. Trace the Receive-Job call and parameter binding, then verify that the integration test no longer raises ParameterBindingException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100