Skip to content

fix: Fix hang in test destination plugin.#19970

Merged
kodiakhq[bot] merged 1 commit intomainfrom
mariano/fix-streambatchwriter-hang
Dec 16, 2024
Merged

fix: Fix hang in test destination plugin.#19970
kodiakhq[bot] merged 1 commit intomainfrom
mariano/fix-streambatchwriter-hang

Conversation

@marianogappa
Copy link
Copy Markdown
Contributor

The StreamBatchWriter has a slightly different interface for its client, and the mocked method implementations didn't consume their input channels. As a result, in tests, the syncs got stuck, because sends on those channels would never be consumed.

@marianogappa marianogappa marked this pull request as ready for review December 16, 2024 13:03
@marianogappa marianogappa requested review from a team and maaarcelino December 16, 2024 13:03
@marianogappa marianogappa added the automerge Automatically merge once required checks pass label Dec 16, 2024
@kodiakhq kodiakhq bot merged commit 864dd65 into main Dec 16, 2024
@kodiakhq kodiakhq bot deleted the mariano/fix-streambatchwriter-hang branch December 16, 2024 13:35
marianogappa pushed a commit that referenced this pull request Dec 16, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.8.0](plugins-destination-test-v2.7.1...plugins-destination-test-v2.8.0)
(2024-12-16)


### Features

* Support all batch writers in test destination plugin.
([#19964](#19964))
([f159291](f159291))


### Bug Fixes

* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.71.1
([#19934](#19934))
([0143675](0143675))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.72.0
([#19963](#19963))
([80b3c97](80b3c97))
* Fix hang in test destination plugin.
([#19970](#19970))
([864dd65](864dd65))

---
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

Labels

area/plugin/destination/test automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants