Skip to content

Fix flaky route destinations tests#2752

Merged
philippthun merged 1 commit intomainfrom
fix-route-destination-flakes
Apr 5, 2022
Merged

Fix flaky route destinations tests#2752
philippthun merged 1 commit intomainfrom
fix-route-destination-flakes

Conversation

@tjvman
Copy link
Copy Markdown
Contributor

@tjvman tjvman commented Apr 4, 2022

These tests would sometimes fail because the DB didn't return the route
destination objects in a deterministic order. Since the ordering isn't
part of the behavior under test, we modified them to not care about
order.

Co-authored-by: Seth Boyles sboyles@pivotal.io
Co-authored-by: Tom Viehman tviehman@pivotal.io

Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

  • A short explanation of the proposed change:

  • An explanation of the use cases your change solves

  • Links to any other associated PRs

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

These tests would sometimes fail because the DB didn't return the route
destination objects in a deterministic order. Since the ordering isn't
part of the behavior under test, we modified them to not care about
order.

Co-authored-by: Seth Boyles <sboyles@pivotal.io>
Co-authored-by: Tom Viehman <tviehman@pivotal.io>
@philippthun philippthun merged commit 2502016 into main Apr 5, 2022
@philippthun philippthun deleted the fix-route-destination-flakes branch May 6, 2022 10:53
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.

4 participants