Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
0d70d7c9
Commit
0d70d7c9
authored
Jul 05, 2024
by
Timothy J. Baek
Browse files
chore: allow more headroom for migration tests
parent
e8ed48bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.github/workflows/integration-test.yml
.github/workflows/integration-test.yml
+3
-3
No files found.
.github/workflows/integration-test.yml
View file @
0d70d7c9
...
...
@@ -148,11 +148,11 @@ jobs:
cd backend
uvicorn main:app --port "8080" --forwarded-allow-ips '*' &
UVICORN_PID=$!
# Wait up to
2
0 seconds for the server to start
for i in {1..
2
0}; do
# Wait up to
4
0 seconds for the server to start
for i in {1..
4
0}; do
curl -s http://localhost:8080/api/config > /dev/null && break
sleep 1
if [ $i -eq
2
0 ]; then
if [ $i -eq
4
0 ]; then
echo "Server failed to start"
kill -9 $UVICORN_PID
exit 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment