Skip to content

chore: migrate gateway, rsources, reporting, batchrouter and manager tests from ginkgo to testify - #7507

Merged
atzoum merged 1 commit into
masterfrom
chore/pipe-3568-ginkgo-pr3
Oct 22, 2026
Merged

atzoum merged 1 commit into
masterfrom
chore/pipe-3568-ginkgo-pr3

Conversation

@atzoum

@atzoum atzoum commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Description

Moves the Ginkgo/Gomega suites in gateway, services/rsources, enterprise/reporting, router/batchrouter, router/manager and processor/manager_test.go to testing + testify. Test files only; Describe/Context/It become nested t.Runs with the original names, BeforeEach state lives in per-test fixtures, and spec counts and coverage are preserved.

Test fixes along the way: Expect(a, b) calls without a matcher (7 in gateway, 15 in rsources) now assert — "request failed 0 messages" expects 400 and rsources "fails during publish" expects no publish timing, matching what the code does; batchrouter specs now shut their Handle down, which removes the goroutine leak that raced with TestBatchrouterIsolation/TestBatchrouterDisabledDestination.

Linear Ticket

Part of PIPE-3568

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

🤖 Generated with Claude Code

@atzoum
atzoum force-pushed the chore/pipe-3568-ginkgo-pr3 branch from 604e45d to ea46e11 Compare October 20, 2026 08:57
@codecov

codecov Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.07%. Comparing base (a050ed6) to head (e5dc568).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7507      +/-   ##
==========================================
+ Coverage   84.62%   85.07%   +0.45%     
==========================================
  Files         633      633              
  Lines       62927    62927              
==========================================
+ Hits        53253    53537     +284     
+ Misses       9671     9387     -284     
  Partials        3        3              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@atzoum
atzoum force-pushed the chore/pipe-3568-ginkgo-pr3 branch from ea46e11 to eb21efb Compare October 20, 2026 13:15
@atzoum
atzoum force-pushed the chore/pipe-3568-ginkgo-pr3 branch 2 times, most recently from d5b870c to a612a70 Compare October 21, 2026 10:06

@fracasula fracasula left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Comment thread gateway/gateway_test.go Resolved
@atzoum
atzoum force-pushed the chore/pipe-3568-ginkgo-pr3 branch from a612a70 to ebf1066 Compare October 21, 2026 10:47
@atzoum
atzoum enabled auto-merge (squash) October 22, 2026 12:47
…tests from ginkgo to testify

Part of PIPE-3568

Co-Authored-By: Claude Opus 5.5 <[email protected]>

🔒 Scanned for secrets using gitleaks 8.30.1
@atzoum
atzoum force-pushed the chore/pipe-3568-ginkgo-pr3 branch from ebf1066 to e5dc568 Compare October 22, 2026 12:50
@atzoum
atzoum merged commit ffdd505 into master Oct 22, 2026
109 of 112 checks passed
@atzoum
atzoum deleted the chore/pipe-3568-ginkgo-pr3 branch October 22, 2026 13:35
itsmihir pushed a commit that referenced this pull request Oct 26, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.92.0-rc.1](v1.91.0...v1.92.0-rc.1)
(2026-10-26)


### Features

* **processor:** pyt test-pod deployer sets PYT_MODE=test
([#7506](#7506))
([a050ed6](a050ed6))
* **processor:** reset the per-workspace pyt client on 421
([#7494](#7494))
([83db4d6](83db4d6))
* **router:** re-fetch the cached OAuth token when the control plane
holds a newer secret (PRO-5947)
([#7478](#7478))
([742779d](742779d))
* **router:** tag oauth_action counters with destinationId and count
AUTH_STATUS_INACTIVE (PRO-5946)
([#7477](#7477))
([0e15eb4](0e15eb4))


### Bug Fixes

* flaky TestDrainConfigRoutine failing with "database is closed"
([#7489](#7489))
([9baa89f](9baa89f))


### Miscellaneous

* block new ginkgo/gomega usage in tests
([#7502](#7502))
([e1c9d38](e1c9d38))
* bump dependency versions
([#7522](#7522))
([1067ff4](1067ff4))
* enforce errors.AsType and point CLAUDE.md at AGENTS.md
([#7521](#7521))
([5c7e088](5c7e088))
* go 1.27.3
([#7516](#7516))
([3c240a3](3c240a3))
* migrate debugger, services, async destination and utils tests from
ginkgo to testify
([#7503](#7503))
([1a8c85a](1a8c85a))
* migrate gateway, rsources, reporting, batchrouter and manager tests
from ginkgo to testify
([#7507](#7507))
([ffdd505](ffdd505))
* remove ginkgo and gomega from tests
([#7508](#7508))
([d3e7e0f](d3e7e0f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
itsmihir pushed a commit that referenced this pull request Oct 27, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.92.0](v1.91.0...v1.92.0)
(2026-10-26)


### Features

* **processor:** pyt test-pod deployer sets PYT_MODE=test
([#7506](#7506))
([a050ed6](a050ed6))
* **processor:** reset the per-workspace pyt client on 421
([#7494](#7494))
([83db4d6](83db4d6))
* **router:** re-fetch the cached OAuth token when the control plane
holds a newer secret (PRO-5947)
([#7478](#7478))
([742779d](742779d))
* **router:** tag oauth_action counters with destinationId and count
AUTH_STATUS_INACTIVE (PRO-5946)
([#7477](#7477))
([0e15eb4](0e15eb4))


### Bug Fixes

* flaky TestDrainConfigRoutine failing with "database is closed"
([#7489](#7489))
([9baa89f](9baa89f))


### Miscellaneous

* block new ginkgo/gomega usage in tests
([#7502](#7502))
([e1c9d38](e1c9d38))
* bump dependency versions
([#7522](#7522))
([1067ff4](1067ff4))
* enforce errors.AsType and point CLAUDE.md at AGENTS.md
([#7521](#7521))
([5c7e088](5c7e088))
* go 1.27.3
([#7516](#7516))
([3c240a3](3c240a3))
* migrate debugger, services, async destination and utils tests from
ginkgo to testify
([#7503](#7503))
([1a8c85a](1a8c85a))
* migrate gateway, rsources, reporting, batchrouter and manager tests
from ginkgo to testify
([#7507](#7507))
([ffdd505](ffdd505))
* remove ginkgo and gomega from tests
([#7508](#7508))
([d3e7e0f](d3e7e0f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
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.

3 participants