Skip to content

update tests#702

Merged
olix0r merged 24 commits intover/accept-profiles-tcp-splitfrom
eliza/profile-ips-in-tests
Oct 9, 2020
Merged

update tests#702
olix0r merged 24 commits intover/accept-profiles-tcp-splitfrom
eliza/profile-ips-in-tests

Conversation

@hawkw
Copy link
Contributor

@hawkw hawkw commented Oct 9, 2020

This branch updates the integration tests to match the new proxy
behavior. In particular, service profiles will always be resolved, so
all tests now configure the mock destination service to return profile
lookups for IPs. Also, the SO_ORIG_DST is required, since profiles are
looked up based on original destination IP addresses, so we now always
configure mock original dst addresses for all test proxies. The
fully_qualified_name profile field now configures what destinations
are resolved, so the mock profile lookups now always return it. Metrics
etc. were also updated to include ports. A

Making everything work again required changing a bunch of stuff and
playing whack-a-mole with a lot of small test failures. Hopefdully this
summary includes the most important bits.

hawkw added 23 commits October 8, 2020 10:37
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
we removed the override header, and always expect there to be an
original dest

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
(those tests don't make sense anyway)

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
@hawkw hawkw requested review from a team and olix0r October 9, 2020 23:23
@olix0r olix0r merged commit a6f51c3 into ver/accept-profiles-tcp-split Oct 9, 2020
@olix0r olix0r deleted the eliza/profile-ips-in-tests branch October 9, 2020 23:40
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