Skip to content

[bug] - failedTemplate assertion is not working as expected #180

@froy001

Description

@froy001

I have a failedTempate assertion:

    asserts:
      - failedTemplate:
          errorMessage: |
             global.application.commit and global.application.remoteOrigin must be given if rookout.enabled = true 

I get the following assertion failure:

		- asserts[0] `failedTemplate` fail
			Template:	charts-integration-test/charts/app-01/templates/deployment.yaml
			Template:	charts-integration-test/charts/app-02/templates/deployment.yaml
			DocumentIndex:	0
			Expected to equal:
				global.application.commit and global.application.remoteOrigin must be given if rookout.enabled = true
			Actual:
				global.application.commit and global.application.remoteOrigin must be given if rookout.enabled = true

As can be seen the expected and the actual values are exactly the same. This could be related to #174

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions