Oops - fix filter_by_root_node, add a test for it

This commit is contained in:
Vitaliy Filippov
2024-04-09 15:48:44 +03:00
parent 57bf84ddb2
commit c29bfe12eb
5 changed files with 83 additions and 11 deletions
+18
View File
@@ -532,6 +532,24 @@ jobs:
echo ""
done
test_root_node:
runs-on: ubuntu-latest
needs: build
container: ${{env.TEST_IMAGE}}:${{github.sha}}
steps:
- name: Run test
id: test
timeout-minutes: 3
run: /root/vitastor/tests/test_root_node.sh
- name: Print logs
if: always() && steps.test.outcome == 'failure'
run: |
for i in /root/vitastor/testdata/*.log /root/vitastor/testdata/*.txt; do
echo "-------- $i --------"
cat $i
echo ""
done
test_switch_primary:
runs-on: ubuntu-latest
needs: build