[client] Fix flaky TestUpdateOldManagementURL in CI#5703
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughIntroduced a Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



Describe your changes
TestUpdateOldManagementURLso it no longer makes real network calls toapi.netbird.io, which times out in CIModTime-based file change detection with content comparison, since the mock completes fast enough that writes can land within the same filesystem timestamp granularityIssue ticket number and link
Fixes flaky
Client / UnitCI failures on linux-amd64, linux-386, and FreeBSD runners (observed in #5697).Stack
Checklist
Documentation
Select exactly one:
Test-only change, no user-facing behavior affected.
Summary by CodeRabbit