Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

ref(test): Use distinct weights for weighted clusters #1863

Merged
merged 2 commits into from
Oct 19, 2020

Conversation

ksubrmnn
Copy link
Contributor

Description:
This PR refactors tests to use distinct weights for the test weighted clusters. Previously, having the default weight and the traffic split backend weight both equal to 100 led to using the wrong weight in rds/response_test.go but the test still passed as they were equal.

Affected area:

  • New Functionality [ ]
  • Documentation [ ]
  • Install [ ]
  • Control Plane [ ]
  • CLI Tool [ ]
  • Certificate Management [ ]
  • Networking [ ]
  • Metrics [ ]
  • SMI Policy [ ]
  • Security [ ]
  • Tests [X]
  • CI System [ ]
  • Performance [ ]
  • Other [ ]

Please answer the following questions with yes/no.

  • Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

No

@ksubrmnn ksubrmnn requested a review from a team as a code owner October 16, 2020 22:43
snehachhabria
snehachhabria previously approved these changes Oct 16, 2020
shashankram
shashankram previously approved these changes Oct 16, 2020
pkg/tests/fixtures.go Outdated Show resolved Hide resolved
pkg/tests/fixtures.go Outdated Show resolved Hide resolved
@ksubrmnn ksubrmnn dismissed stale reviews from shashankram and snehachhabria via 96a224f October 16, 2020 23:55
@ksubrmnn ksubrmnn merged commit fde0ef6 into openservicemesh:main Oct 19, 2020
@ksubrmnn ksubrmnn deleted the rds_test branch October 19, 2020 20:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants