-
Notifications
You must be signed in to change notification settings - Fork 3
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
S2Search testing pipeline does not actually test S2Search #30
Comments
It's also worth noting that in S2Search tests, this test fails: The error
|
Thanks Joshua!
Perhaps something like this (pseudocode) :
This can be added to the Python API tests, so that it gets checked in every environment. Perhaps here: https://github.com/marqo-ai/marqo-api-tests/blob/mainline/tests/marqo_test.py |
Thanks Pandu!
For S2Search,
That already makes the tests run properly with the S2Search cluster.
I feel we should put the checks in the startup shell scripts instead, since they're run every time. Adding it to Like this: |
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 toconf
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-osThe text was updated successfully, but these errors were encountered: