Skip to content

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

Closed
@sowjuec

Description

@sowjuec

Code of Conduct

  • I have read and agree to the Code of Conduct.
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions