Skip to content

fix(PLU-543): update Milvus precheck test to expect UserError - #798

Draft
potter-potter wants to merge 1 commit into
mainfrom
fix/milvus-precheck-usererror-test
Draft

fix(PLU-543): update Milvus precheck test to expect UserError#798
potter-potter wants to merge 1 commit into
mainfrom
fix/milvus-precheck-usererror-test

Conversation

@potter-potter

@potter-potter potter-potter commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • PLU-543 reclassified a missing Milvus collection from DestinationConnectionError to UserError (correctly — it's a customer config issue, not a connection fault), but test_precheck_fails_on_nonexistent_collection still asserted the old exception type and message text, so it fails even though precheck() correctly raises an error.
  • Updates the test to expect UserError and match the actual message ("Milvus collection '{name}' does not exist").
  • Version bump to 1.11.6 and CHANGELOG entry.

Test plan

  • CI passes for test_precheck_fails_on_nonexistent_collection
  • Other Milvus precheck tests (test_precheck_succeeds, test_precheck_fails_on_nonexisting_db) remain green — unaffected by this change

🤖 Generated with Claude Code

Review in cubic

PLU-543 reclassified a missing Milvus collection from
DestinationConnectionError to UserError, but the test still asserted
the old exception type and message text, causing
test_precheck_fails_on_nonexistent_collection to fail even though the
error is correctly raised.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 3 files

Shadow auto-approve: would not auto-approve. This PR does not meet the repository auto-approval settings.

Re-trigger cubic

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.

1 participant