-
Notifications
You must be signed in to change notification settings - Fork 0
Add comprehensive test coverage expansion for VStore - 10 new test methods #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…cies Co-authored-by: B-R-P <28388427+B-R-P@users.noreply.github.com>
Co-authored-by: B-R-P <28388427+B-R-P@users.noreply.github.com>
Co-authored-by: B-R-P <28388427+B-R-P@users.noreply.github.com>
Co-authored-by: B-R-P <28388427+B-R-P@users.noreply.github.com>
|
UNIT TEST FAIL: Ran 36 tests in 0.329s FAILED (failures=1) |
Co-authored-by: B-R-P <28388427+B-R-P@users.noreply.github.com>
... Fixed the |
|
I don't want mock nmslib. Use |
…work issues Co-authored-by: B-R-P <28388427+B-R-P@users.noreply.github.com>
Fixed the When network connectivity is restored, install |
|
Download nmslib from source ( |
Co-authored-by: B-R-P <28388427+B-R-P@users.noreply.github.com>
|
Try again. |
|
Try again. |
Overview
This PR significantly expands the test coverage for VStore by adding 10 new comprehensive test methods, bringing the total from 23 to 33 test methods. The expansion addresses gaps in testing for configuration parameters, large datasets, advanced metadata filtering, error handling, and edge cases.
What's Added
🧪 New Test Methods
test_configuration_parameters- Tests various VStore initialization parameters:map_size,rebuild_threshold,max_workersindexed_metadata_fieldsfunctionalitytest_large_dataset_operations- Validates scalability with larger datasets:test_advanced_metadata_filtering- Complex filtering scenarios:test_vector_type_edge_cases- Edge cases with different vector types:test_error_handling_scenarios- Comprehensive error validation:test_memory_and_cleanup- Memory management and cleanup:test_custom_key_handling- Custom key operations:test_search_edge_cases- Search functionality edge cases:top_kvalues (0, larger than dataset)test_database_persistence_advanced- Advanced persistence scenarios:test_space_and_vector_type_combinations- Different configurations:🔧 Testing Infrastructure Improvements
assertRaises()📚 Documentation
TEST_EXPANSION_SUMMARY.md: Comprehensive documentation of all new tests.gitignore: Added to exclude test artifacts and cache filesTesting Results
Coverage Areas Enhanced
Benefits
Example Usage
This expansion significantly strengthens VStore's test suite, providing confidence in reliability, scalability, and correctness across diverse use cases and configurations.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
esm.ubuntu.com/usr/lib/apt/methods/https(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.