Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve integration test validation against TAP clusters #242

Open
2 tasks done
odinnordico opened this issue Jul 25, 2022 · 0 comments
Open
2 tasks done

Improve integration test validation against TAP clusters #242

odinnordico opened this issue Jul 25, 2022 · 0 comments
Milestone

Comments

@odinnordico
Copy link
Contributor

odinnordico commented Jul 25, 2022

Please fill out the issue checklist below and provide ALL the requested information.

  • I reviewed open and closed Github issues that may be related to my problem.
  • I am reporting a bug that others will be able to reproduce.

Describe the bug

When running integration test (make integration-test) against tap cluster it fails when asserting in the command tanzu apps cluster-supply-chain list and tanzu apps cluster-supply-chain get ci-test

Expected behavior

All the integration test pass

Steps to Reproduce

Steps to reproduce the behavior:

  • configure a TAP cluster
  • run make integration-test

Screenshots

image

Version (Apps plugin version, Version of K8s running on cluster)

Put the output of the following commad

tanzu version && tanzu apps version

N/A

Environment where the bug was observed (cloud, OS, etc)

Additional context & Relevant Debug Output (Logs, etc)

Add any other context about the problem here.

When the integration test configures the environment to run the test cases, it creates a cluster supply chain and a test namespace, the test try to list the existing supply chain and get the details of the created one by checking the output of the command, those test must do a more interactive comparison instead of an exact match because depending on the target cluster which is used to the test may differ from expected.

Create some utilities or use golang structures to parse each get/list output

@atmandhol atmandhol changed the title Improve integration test validation agains tap cluster Improve integration test validation against TAP clusters Jul 26, 2022
@atmandhol atmandhol added this to the 0.13.0 milestone May 22, 2023
@heyjcollins heyjcollins added the MIGRATED-MIGRATED Migrated to private repo label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants