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

Fix: recent logs fetching in v3 tests #677

Merged
merged 1 commit into from
Dec 14, 2022
Merged

Conversation

ctlong
Copy link
Member

@ctlong ctlong commented Dec 14, 2022

Are you submitting this PR against the develop branch?

Yes

What is this change about?

Fixes failing tests in the v3 suite that need to fetch recent logs for an app.

  • The recentlogs endpoint in Traffic Controller was removed in v107.0.0 of the loggregator release.
  • Use the Log Cache read endpoint instead.
  • Import the code.cloudfoundry.org/go-log-cache module in order to use the rpc code for unmarshalling the Log Cache response.

Please provide contextual information.

https://cloudfoundry.slack.com/archives/CUW93AF3M/p1670943805335419

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

v24.1.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?

N/A

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

None.

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!

@mkocher

- The `recentlogs` endpoint in Traffic Controller was removed in
  v107.0.0 of the loggregator release.
- Use the Log Cache `read` endpoint instead.
- Import the `code.cloudfoundry.org/go-log-cache` module in order to use
  the rpc code for unmarshalling the Log Cache response.

Signed-off-by: Matthew Kocher <mkocher@vmware.com>
@ctlong ctlong merged commit db42493 into develop Dec 14, 2022
@ctlong ctlong deleted the fix/recent-log-fetching branch December 14, 2022 01:25
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.

1 participant