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

Add acceptance test for crashed app instance stats #1239

Conversation

kathap
Copy link
Contributor

@kathap kathap commented Sep 10, 2024

When pushing an app which has crashing instances (e.g. last instance crashes) all instances should be reported with their correct state.

Are you submitting this PR against the develop branch?

All PR's to CATs should be submitted to develop and will be merged to main once they've passed acceptance.

What is this change about?

Add a test when pushing an app which has crashing instances (e.g. last instance crashes) check that the states of the instances are reported correctly.

Please provide contextual information.

#3953

What version of cf-deployment have you run this cf-acceptance-test change against?

v42.3.0

Please check all that apply for this PR:

  • introduces a new test --- Are you sure everyone should be running this test?
  • changes an existing test
  • requires an update to a CATs integration-config

Did you update the README as appropriate for this change?

  • YES
  • N/A

If you are introducing a new acceptance test, what is your rationale for including it CATs rather than your own acceptance test suite?

CATs should validate common operator workflows.
CATs is not a regression test suite.
CATs is run by every component team to validate their releases before promotion.

How many more (or fewer) seconds of runtime will this change introduce to CATs?

~90 seconds

What is the level of urgency for publishing this change?

  • Urgent - unblocks current or future work
  • Slightly Less than Urgent

Tag your pair, your PM, and/or team!

@johha @jochenehret

When pushing an app which has crashing instances (e.g. last instance crashes) all instances should be reported with their correct state.
apps/crashing.go Outdated Show resolved Hide resolved
assets/python-crash-app/requirements.txt Outdated Show resolved Hide resolved
apps/crashing.go Show resolved Hide resolved
apps/crashing.go Outdated Show resolved Hide resolved
johha
johha previously approved these changes Sep 17, 2024
apps/crashing.go Outdated Show resolved Hide resolved
@johha johha merged commit 6731da9 into cloudfoundry:develop Sep 17, 2024
3 checks passed
@johha johha deleted the add-test-for-showing-correct-app-stats branch September 17, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants