projects
/
siridb-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
909be33
)
tests: give server a bit time to start up
author
Paul Gevers
<elbrus@debian.org>
Thu, 29 Aug 2024 14:54:09 +0000
(16:54 +0200)
committer
Paul Gevers
<elbrus@debian.org>
Thu, 29 Aug 2024 14:54:09 +0000
(16:54 +0200)
Closes: #1079984 (hopefully)
debian/tests/http-api
patch
|
blob
|
history
diff --git
a/debian/tests/http-api
b/debian/tests/http-api
index 0a21ee067b4ffa684680e605801bfe8d589e7f2e..3e2cbed0aac4fd14314e9375889ecf7b0c23cab6 100644
(file)
--- a/
debian/tests/http-api
+++ b/
debian/tests/http-api
@@
-9,6
+9,12
@@
sed --in-place 's/http_api_port = 0/http_api_port = 9020/' /etc/siridb/siridb.co
echo '* restarting siridb-server'
service siridb-server restart
+echo '* touch res.txt'
+touch res.txt
+
+echo '* sleep to let the server start up properly'
+sleep 5
+
echo '* run queries'
echo ' get-version'
curl --silent --show-error --location --output res.txt \