Skip to content

Conversation

@hermanschaaf
Copy link
Member

There was an issue with append-only tests that only wrote 1 resource: the sort order meant that the incorrect resource was sometimes being compared in this case.

This PR changes the sort order to be by sync time first, then UUID. Some other tests had to be adapted to work with this new ordering as well.

@github-actions
Copy link

github-actions bot commented Jan 3, 2023

⏱️ Benchmark results

Comparing with 68e2af3

  • DefaultConcurrency-2 resources/s: 12,053 ⬇️ 0.28% decrease vs. 68e2af3
  • Glob-2 ns/op: 145.8 ⬇️ 0.96% decrease vs. 68e2af3
  • TablesWithChildrenDefaultConcurrency-2 resources/s: 30,745 ⬆️ 4.92% increase vs. 68e2af3
  • BufferedScanner-2 ns/op: 10.25 ⬆️ 7.82% increase vs. 68e2af3
  • LogReader-2 ns/op: 30.57 ⬆️ 0.16% increase vs. 68e2af3

@kodiakhq kodiakhq bot merged commit 79c2b85 into main Jan 3, 2023
@kodiakhq kodiakhq bot deleted the plugin-test-fixes branch January 3, 2023 10:24
kodiakhq bot pushed a commit that referenced this pull request Jan 3, 2023
🤖 I have created a release *beep* *boop*
---


## [1.17.1](v1.17.0...v1.17.1) (2023-01-03)


### Bug Fixes

* **testing:** Some fixes to the ordering for plugin tests ([#565](#565)) ([79c2b85](79c2b85))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants