Skip to content

Commit

Permalink
Fix up tests plan and tests for legacy pool script
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Sep 22, 2023
1 parent 56ca9bd commit 582ee5b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
17 changes: 16 additions & 1 deletion plans/all.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,29 @@ prepare:
- name: Install packages
how: install
package:
- tang
- cargo
- clang
- cryptsetup-devel
- curl
- dbus-devel
- device-mapper-devel
- libblkid-devel
- make
- ncurses
- rust
- systemd
- systemd-devel
- tang
- name: Start tang server
how: shell
script: systemctl enable tangd.socket --now
- name: Reload udev
how: shell
script: udevadm control --reload
- name: Build legacy pool script
how: shell
script:
- PROFILEDIR=debug make build-test-extras
discover:
how: fmf
execute:
Expand Down
2 changes: 1 addition & 1 deletion test/loop/main.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ require:
- python3-dbus-python-client-gen
- python3-psutil
- python3-pyudev
test: TANG_URL=localhost RUST_LOG=stratisd=debug STRATISD=/usr/libexec/stratisd STRATIS_DUMPMETADATA=/usr/bin/stratis-dumpmetadata PYTHONPATH=./src make -f Makefile tang-tests dump-metadata-tests
test: TANG_URL=localhost RUST_LOG=stratisd=debug STRATISD=/usr/libexec/stratisd STRATIS_DUMPMETADATA=/usr/bin/stratis-dumpmetadata LEGACY_POOL=../../target/debug/stratis-legacy-pool PYTHONPATH=./src make -f Makefile tang-tests dump-metadata-tests
path: /tests/client-dbus
2 changes: 1 addition & 1 deletion test/udev/main.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ require:
- python3-dbus-python-client-gen
- python3-psutil
- python3-pyudev
test: TANG_URL=localhost RUST_LOG=stratisd=debug STRATISD=/usr/libexec/stratisd STRATIS_DUMPMETADATA=/usr/bin/stratis-dumpmetadata PYTHONPATH=./src make -f Makefile udev-tests
test: TANG_URL=localhost RUST_LOG=stratisd=debug STRATISD=/usr/libexec/stratisd STRATIS_DUMPMETADATA=/usr/bin/stratis-dumpmetadata LEGACY_POOL=../../target/debug/stratis-legacy-pool PYTHONPATH=./src make -f Makefile udev-tests
path: /tests/client-dbus

0 comments on commit 582ee5b

Please sign in to comment.