You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2022/01/26 14:04:00 UTC
[incubator-ponymail-foal] branch master updated: More tests
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new 7000195 More tests
7000195 is described below
commit 7000195e1dd1f69a417c2e304936a4b4f87b6c21
Author: Sebb <se...@apache.org>
AuthorDate: Wed Jan 26 14:03:50 2022 +0000
More tests
---
.github/workflows/integration-tests.yml | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml
index b82b37b..223fc47 100644
--- a/.github/workflows/integration-tests.yml
+++ b/.github/workflows/integration-tests.yml
@@ -63,14 +63,11 @@ jobs:
cd server
python -u main.py --apilog INFO --logger DEBUG --stoppable --refreshable > main.log 2>&1 &
sleep 5 # allow time to start up properly
- - name: preferences1
- run: |
- curl -sq http://localhost:8080/api/preferences.lua
- name: Show Database
if: always()
run: |
curl -sq "http://localhost:9200/_cat/indices?v"
- - name: preferences2
+ - name: preferences1
if: always()
run: |
curl -sq http://localhost:8080/api/preferences.lua
@@ -78,14 +75,16 @@ jobs:
if: always()
run: |
curl -sq http://localhost:8080/api/refresh
- sleep 2 # can it take this long?
- - name: preferences3
+ - name: preferences2
if: always()
run: |
curl -sq http://localhost:8080/api/preferences.lua
+ - name: stats1
+ if: always()
+ run: |
+ curl -sq http://localhost:8080/api/stats.lua?list=*&domain=*&d=gte=0d
- name: Shutdown
if: always()
- # continue-on-error: true # curl currently returns non-zero status
run: |
curl -sq http://localhost:8080/api/stop
- name: Show log