Closed alagoutte closed 5 years ago
jenkins test this please
Tests Failed
Hi Dale
Thanks for the jenkins test
it is possible to known why failed ?
Hi Dale
Thanks for the jenkins test
it is possible to known why failed ?
It was a spelling mistake in the tests. I've made some suggestions on where the spelling errors are. Once they are fixed, we will run it through the tests again and merge if it passes
Oups push the wrong commit
can you retest ?
jenkins test this please
Tests Failed
Tests failed with the following error
MESSAGE:
Expected $false, but got 'false'.
+++++++++++++++++++
STACK TRACE:
at <ScriptBlock>, /var/jenkins/workspace/CorePowerNsx641/tests/integration/04.Edge.Tests.ps1: line 563
563: $rule.loggingEnabled | should be $false
Thanks!
can you relaunch test ?
jenkins test this please
Tests Failed
Test failed due to the function not being exported. Please add the function to /module/include.ps1
MESSAGE:
The term 'Set-NsxEdgeFirewallRule' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
+++++++++++++++++++
STACK TRACE:
at <ScriptBlock>, C:\jenkins\workspace\WindowsPowerNsx641\tests\integration\04.Edge.Tests.ps1: line 567
567: $rule = $rule | Set-NsxEdgeFirewallRule -name "testrule21" -comment "testrule21" -loggingEnabled $true -enabled $false -action deny```
Sorry, Add Set-NsxEdgeFirewallRule to module/Include.ps1
jenkins test this please
Please update test to check for $rule.enabled as a string
Expected: {False}
But was: {false}
at <ScriptBlock>, C:\jenkins\workspace\WindowsPowerNsx641\tests\integration\04.Edge.Tests.ps1: line 569
569: $rule.enabled | should be $false```
Tests Failed
Done
jenkins test this please
Tests Successful
I just did Update-Module PowerNSX but receive the following error: Set-NsxEdgeFirewallRule : The term 'Set-NsxEdgeFirewallRule' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Am I missing something? Thought this new command had been included?
Hi @Mooihoek
The patch is merged but there is now yet updated release of module on psgallery
You need to manually download master branch (or clone)
Hi @Mooihoek
The patch is merged but there is now yet updated release of module on psgallery
You need to manually download master branch (or clone)
great thanks so much!
Add Set-NsxEdgeFirewallRule and tests
Fix #565