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 TCP Route Testing #1202

Merged

Conversation

geofffranks
Copy link
Contributor

Are you submitting this PR against the develop branch?

Yes

What is this change about?

  • Make it easier to configure TCP route testing by separating the TCP domains from the apps domain.
  • Make it possible to run isolation_segment_routing tests alongside isolation_segment_tcp_routing tests
  • Add TCP routing tests for windows
  • Improve the output returned by SendAndReceive so that text fits in gomega/ginkgo string length constraints

Please provide contextual information.

We discovered issues with tcp routes on cross-deployment scenarios where links weren't properly being configured, and this slipped through testing because of strange nuances to how isolation segment + tcp routes work. Additionally there were no windows tcp route tests

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

Latest

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

^^ adds opt-in configuration to cats?

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 test the same app/route workloads on windows as it does on isolation segments + primary diego cells

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

up to two cf push timeouts

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!

- Make it easier to configure TCP route testing by separating the TCP
  domains from the apps domain.
- Make it possible to run isolation_segment_routing tests alongside
  isolation_segment_tcp_routing tests
- Add TCP routing tests for windows
- Improve the output returned by SendAndReceive so that text fits in
  gomega/ginkgo string length constraints
Copy link
Member

@davewalter davewalter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall. I just had a question about the changes to the README.

README.md Outdated Show resolved Hide resolved
@geofffranks geofffranks force-pushed the tcp-route-testing-fixes branch from 7dad779 to 5e2c2d1 Compare August 26, 2024 13:56
@jochenehret jochenehret requested review from a team September 10, 2024 13:50
Copy link
Contributor

@jochenehret jochenehret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but there are two follow-up activities:

  1. Update https://github.com/cloudfoundry/cf-acceptance-tests/blob/main/example-cats-config.json with the new options (other recently added options might be missing as well)
  2. Use the new tcp domain options in our relint-envs test environments.

@jochenehret jochenehret merged commit dfc2112 into cloudfoundry:develop Sep 13, 2024
3 checks passed
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