-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tests for lacp cmdlets #45
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you rename to LACP.Test.ps1 ?
Can you add some check status (using Get-ArubaSWPort ?)
Add also a second port on LACP ?
May be also enhance (after) VlanPorts and add some vlan to a LACP interface ?
PowerArubaSW/Public/test-lacp.ps1
Outdated
|
||
../common.ps1 | ||
|
||
$mysecpassword = ConvertTo-SecureString $password -AsPlainText -Force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to connect (it is already connect on common)
PowerArubaSW/Public/LACP.Test.ps1
Outdated
|
||
../common.ps1 | ||
|
||
$mysecpassword = ConvertTo-SecureString $password -AsPlainText -Force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no longer need (include on common.ps1)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to move on Tests\integration folder
and the test don't work for me
[-] Error occurred in test script '..\..\PowerArubaSW\Public\LACP.Test.ps1' 7.79s
ParameterBindingValidationException: Impossible de lier l'argument au paramètre « String », car il a la valeur Null. à <ScriptBlock>, PowerArubaSW\PowerArubaSW\Public\LACP.Test.ps1 : ligne 10
Part of issue #36