vmware / powershell-module-for-vmware-cloud-foundation-password-management

PowerShell Module for VMware Cloud Foundation Password Management
https://vmware.github.io/powershell-module-for-vmware-cloud-foundation-password-management/
BSD 2-Clause "Simplified" License
12 stars 9 forks source link

One of the change made in input json file of pester testcases is not carried to the code. #181

Closed sowjuec closed 8 months ago

sowjuec commented 8 months ago

Code of Conduct

VMware Cloud Foundation

5.1

PowerShell Version

Windows Powershell 7.3.4

PowerCLI Version

13.1

Module Version

1.7.2

PowerValidatedSolutions Version

2.8.0

PowerVCF Version

2.4.1

Guest Operating System

Windows Server 2019

Environment Details

NA

Description

I ran the pipeline against latest password management build, which is 1.7.2, and found that NSX password expiration testcase was failing, upon checking, there was reference of a variable $inputData.$domain.'Manager Node'[0] where as the keyname was changed from 'Manger Node' to 'NSX Manager'. So there was a failure.

Error or Debug Output

image

Expected Behavior

Pass case

Actual Behavior

Failed as cannot index to null arary

Steps to Reproduce

Download password management module with 1.7.2 version and run below command Invoke-Pester <PPM.Tests.ps1> -Tag "NsxManagerPasswordExpiration"

Log Fragments and Files

No response

Screenshots

No response

References

No response

github-actions[bot] commented 7 months ago

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.