File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 # 1. Restore the data
4444 mongorestore --archive=sampledata.archive --port=27017
4545
46- # ---------------------------------------------------------
4746 # 2. Prepare the Search Index Definition
48- # ---------------------------------------------------------
4947 echo '{
5048 "name": "movieSearchIndex",
5149 "database": "sample_mflix",
6765 --deploymentName myLocalRs1 \
6866 --file search_index.json
6967
70- # ---------------------------------------------------------
7168 # 4. Prepare the Vector Index Definition
72- # ---------------------------------------------------------
7369 echo '{
7470 "name": "vector_index",
7571 "database": "sample_mflix",
9086 --deploymentName myLocalRs1 \
9187 --file vector_index.json
9288
93- # ---------------------------------------------------------
9489 # 6. Wait for indexes to build
95- # ---------------------------------------------------------
9690 echo "Waiting for indexes to build..."
9791 sleep 20
9892
@@ -118,7 +112,7 @@ jobs:
118112
119113 - name : Run integration tests
120114 working-directory : mflix/server/python-fastapi
121- run : pytest -m integration --verbose --tb=short --junit-xml=test-results-integration.xml || true
115+ run : pytest -m integration --verbose --tb=short --junit-xml=test-results-integration.xml
122116 env :
123117 MONGO_URI : mongodb://localhost:27017/?directConnection=true
124118 MONGO_DB : sample_mflix
You can’t perform that action at this time.
0 commit comments