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 test for app renaming #751

Merged
merged 1 commit into from
Mar 15, 2023
Merged

Conversation

acrmp
Copy link
Member

@acrmp acrmp commented Feb 23, 2023

Are you submitting this PR against the develop branch?

Yes.

What is this change about?

  • Logs that are emitted by a renamed app are tagged with the new name without requiring a restart.
  • Check the origin of the emitted log as the cloud controller will emit logs against the new app name when the rename is performed.
  • Move recent logs function to the logs helper.

The new test is dependent on PRs opened against Diego and CAPI which have not yet been merged. This PR should not be merged prior to release of the Diego and CAPI changes.

This is a breaking change as it requires those new versions of Diego and CAPI.

Please provide contextual information.

cloudfoundry/diego-release#662

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

None

Please check all that apply for this PR:

  • introduces a new test --- Are you sure everyone should be running this test? - Yes
  • 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?

This is testing a common operator workflow.

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

45 seconds more.

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!

@ctlong

- Logs that are emitted by a renamed app are tagged with the new name
  without requiring a restart.
- Check the origin of the emitted log as the cloud controller will emit
  logs against the new app name when the rename is performed.
- Move recent logs function to the logs helper.

cloudfoundry/diego-release#662

Co-authored-by: Andrew Crump <crumpan@vmware.com>
@acrmp acrmp marked this pull request as draft February 23, 2023 23:30
@ctlong ctlong marked this pull request as ready for review March 15, 2023 18:07
@ctlong ctlong merged commit d21850e into cloudfoundry:develop Mar 15, 2023
@ctlong ctlong deleted the pr/app-renaming branch March 15, 2023 20:17
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.

2 participants