marqo-ai / marqo-api-tests Goto Github PK
View Code? Open in Web Editor NEWApi tests for marqo
Home Page: https://marqo.pages.dev/
License: Apache License 2.0
Api tests for marqo
Home Page: https://marqo.pages.dev/
License: Apache License 2.0
The issue:
The marqo github CI workflow to test S2Search doesn't actually connect to any S2Search URL, it just acts like DIND.
Proof: Observe this run that passed: https://github.com/marqo-ai/marqo/actions/runs/5107294728/jobs/9180084294#step:8:4868
It runs its own OpenSearch container.
There are several causes:
[testenv]
commands_pre
do not get carried over to the startup scripts in the child envs. Because of this, the s2search startup script reads $S2SEARCH_URL
as empty, and starts its own marqo-os.I don't know if this way of running conf used to work before and just doesn't now, or if it was always like this. Worth having a chat about!
Proposed solution:
clone_marqo_repo.sh
LOCAL_OPENSEARCH_URL
export declaration to conf
file, so all exports are in 1 place (1 source of truth). "$(pwd)/conf"
at the start, thus env vars are properly set before running marqo/marqo-osmarqo.errors.MarqoWebError: MarqoWebError: MarqoWebError Error message: {'message': "{'error': {'root_cause': [{'reason': 'provided number of number_of_replicas 4 exceeds your Marqo limit. Current limit for number_of_replicas is 1', 'type': 'marqo_error'}]}, 'status': 400}\nPlease create an issue on Marqo's GitHub repo (https://github.com/marqo-ai/marqo/issues) if this problem persists.", 'code': 'unhandled_backend_error', 'type': 'backend_error', 'link': ''}
E status_code: 500, type: backend_error, code: unhandled_backend_error, link:
Problem:
We often forget to increment the Marqo's in-code version number. This results in the root endpoint returning a version not representative of the actual version.
Proposed solution:
in
the list of GitHub release tags:curl https://api.github.com/repos/marqo-ai/marqo/tags
We need to add new functionality to Marqo API end-to-end tests to support the following:
In particular, for throttling tests, we want to run tests on instances of marqo with different MARQO_MAX_CONCURRENT_INDEX
and MARQO_MAX_CONCURRENT_SEARCH
.
Proposed solution: https://docs.google.com/document/d/1YTFnMkoMnJQ1PIXmyBxK6QrrBcskW2jm1_IevMJJunU/edit?usp=sharing
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.