Skip to content

Commit

Permalink
Run tests from testing repo on stratisd
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <amulhern@redhat.com>
  • Loading branch information
mulkieran committed Sep 27, 2023
1 parent 4aa39f0 commit 0e92da0
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
29 changes: 29 additions & 0 deletions plans/testing_3.5.2.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
summary: Run testing scripts from HEAD revision
prepare:
- name: Install packages
how: install
package:
- python3-dbus-python-client-gen
- python3-gobject
- python3-psutil
- systemd
- tang
- util-linux
- name: Start tang server
how: shell
script: systemctl enable tangd.socket --now
- name: Reload udev
how: shell
script: udevadm control --reload
discover:
url: https://github.com/stratis-storage/testing.git
ref: v3.5.2
tests:
- name: unit
test: >
RUST_LOG=stratisd=debug
python3 test_harness.py stratisd_cert
--verify-devices
execute:
how: tmt
exit-first: false
29 changes: 29 additions & 0 deletions plans/testing_HEAD.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
summary: Run testing scripts from HEAD revision
prepare:
- name: Install packages
how: install
package:
- python3-dbus-python-client-gen
- python3-gobject
- python3-psutil
- systemd
- tang
- util-linux
- name: Start tang server
how: shell
script: systemctl enable tangd.socket --now
- name: Reload udev
how: shell
script: udevadm control --reload
discover:
url: https://github.com/stratis-storage/testing.git
ref: HEAD
tests:
- name: unit
test: >
RUST_LOG=stratisd=debug
python3 test_harness.py stratisd_cert
--verify-devices --monitor-dbus --highest-revision-number=6
execute:
how: tmt
exit-first: false

0 comments on commit 0e92da0

Please sign in to comment.