Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Add Get/Set/Remove -NsxDns cmdlets with testsuite #426

Merged
merged 14 commits into from
Jul 10, 2019

Conversation

alagoutte
Copy link
Contributor

No yet finish (need to add more tests.. and also statistics)

@alagoutte
Copy link
Contributor Author

@nmbradford @pandom @dcoghlan can you look ? it is no yet finish... (need also to look #425 because need for some tests...)

@alagoutte alagoutte changed the title WIP: Add Get/Set/Remove -NsxDns cmdlets with testsuite Add Get/Set/Remove -NsxDns cmdlets with testsuite Dec 31, 2017
@alagoutte
Copy link
Contributor Author

@nmbradford it is possible to launch a jenkins test ? (and get feedback/review)

Get DNS settings of Edge Service Gateway
Set DNS settings (PrimaryDNS, CacheSize, Status, Log...) of Edge Service Gateway

Add also ValidateEdgeDNS to valid it is a Get-NsxDns xml attribut
Remove DNS settings of Edge Service Gateway (alreayd use -NoConfirm to be compliant)
add dedicated test for retrieve (all) DNS Config

and remove each retrieve for other test
@alagoutte
Copy link
Contributor Author

Hi @nmbradford @dcoghlan

Can you look ? :)

@dcoghlan
Copy link
Contributor

dcoghlan commented Jul 5, 2019

jenkins test this please

@powernsxbot
Copy link

Tests Failed

@dcoghlan
Copy link
Contributor

dcoghlan commented Jul 8, 2019

@alagoutte - The tests failed due to the following error
[-] Change cacheSize 256ms Cannot set "cacheSize" because only strings can be used as values to set XmlNode properties. at <ScriptBlock>, C:\jenkins\workspace\WindowsPowerNsx636\tests\integration\17.Dns.Tests.ps1: line 90 90: Get-NsxEdge $dnsedge1name | Get-NsxDns | Set-NsxDns -cacheSize 32

@alagoutte
Copy link
Contributor Author

Can you retry ?

@dcoghlan
Copy link
Contributor

dcoghlan commented Jul 9, 2019

jenkins test this please

@powernsxbot
Copy link

Tests Failed

Need also use .ToString() when change the size
@dcoghlan
Copy link
Contributor

jenkins test this please

@powernsxbot
Copy link

Tests Successful

@dcoghlan dcoghlan merged commit 7a15293 into vmware-archive:master Jul 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants