You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in file test_import.py, you can run test_import_empty_file_fvecs with resp: error_code = 3037(errorImportFormat) , and run test_import_empty_file_csv with resp: error_code=0
Additional information
No response
The text was updated successfully, but these errors were encountered:
### What problem does this PR solve?
Refactor HTTP test and fix bugs.
Things have done:
1. modify http_server to return error_code back to client and set HTTP
status.
2. fix error string parameters parse in http_server.
3. format HTTP test code.
Issue link:#1022, #1024, #1025, #1033
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Refactoring
Is there an existing issue for the same bug?
Branch name
main
Commit ID
1d3a04c
Other environment information
Actual behavior
Import empty-csv return error_code = 0 , but import empty_fvecs return error_code = 3037
Expected behavior
both return no error or both return error_message
Steps to reproduce
Additional information
No response
The text was updated successfully, but these errors were encountered: