aboutsummaryrefslogtreecommitdiffstats
path: root/test/endpoints.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-02-25 09:12:41 +0000
committerterminaldweller <thabogre@gmail.com>2021-02-25 09:12:41 +0000
commit39b361d24df4455c96b6ce952aec3bf9844b70ec (patch)
tree3124ccc418cefb6495fca5a3fe622c8fadddb119 /test/endpoints.sh
parentmade a new docker-compose file for travis tests only (diff)
downloadhived-39b361d24df4455c96b6ce952aec3bf9844b70ec.tar.gz
hived-39b361d24df4455c96b6ce952aec3bf9844b70ec.zip
turns out we really need that health endpoint after all. travis fix...
Diffstat (limited to '')
-rwxr-xr-xtest/endpoints.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/endpoints.sh b/test/endpoints.sh
index 0c47cd6..42de548 100755
--- a/test/endpoints.sh
+++ b/test/endpoints.sh
@@ -2,6 +2,8 @@
set -e
set -x
+sleep 5
curl -X GET http://127.0.0.1:8008/price?name=CAKE&unit=USD
curl -X GET http://127.0.0.1:8008/pair?one=ETH&two=CAKE&multiplier=4.0
curl -X POST -H "Content-Type: application/json" -d '{"name":"alert1", "expr":"ETH>CAKE"}' http://127.0.0.1:8008/addalert
+#curl -X POST