🐛 Fix useLocalAgent reconnection test after dashboard recovery changes#12736
Conversation
✅ Deploy Preview for kubestellarconsole ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
👋 Hey @kubestellar-hive[bot] — thanks for opening this PR!
This is an automated message. |
Update the reconnection test to simulate a real reconnect path by first establishing an agent connection, then disconnecting, and only expecting dashboard refetches after the recovery threshold is met. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Copilot <copilot@github.com>
133857e to
b122f33
Compare
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
|
Post-merge build verification passed ✅ Both Go and frontend builds compiled successfully against merge commit |
✅ Post-Merge Verification: passedCommit: |
Fixes #12734
Updates the useLocalAgent test to match the new reconnection behavior introduced in PR #12733. The test was failing because the reconnection logic only triggers global refetches after the agent had previously connected, then reconnects after being disconnected.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com