Skip to content

Commit

Permalink
adjust timing
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-spike committed Jan 9, 2025
1 parent bba0a71 commit 7671bbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-prism-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
AVS_PORT: 5555
run: |
nohup python -m waitress --host=127.0.0.1 --port=8080 --threads 32 prism:app &
sleep 20 # Wait for the server to be ready
sleep 30 # Wait for the server to be ready
# TODO come up with a better/faster way to wait for the server to be ready
# Build and run Docker container
Expand All @@ -92,7 +92,7 @@ jobs:
-e AVS_PORT=5000 \
-e AVS_HOST=aerospike-vector-search \
prism
sleep 40 # Wait for the server to be ready
sleep 30 # Wait for the server to be ready
# TODO come up with a better/faster way to wait for the server to be ready
# Verify Chrome and ChromeDriver Installation
Expand Down
4 changes: 2 additions & 2 deletions prism-image-search/tests/e2e/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def browser():
chrome_options.add_argument(f"--user-agent={user_agent}")

driver = webdriver.Chrome(options=chrome_options)
# Wait up to 30 seconds for elements to appear
driver.implicitly_wait(30)
# Wait up to 50 seconds for elements to appear
driver.implicitly_wait(50)
yield driver
driver.quit()

Expand Down

0 comments on commit 7671bbd

Please sign in to comment.