Skip to content

Commit

Permalink
Merge pull request containers#818 from henrywang/ostree_ext_rs
Browse files Browse the repository at this point in the history
test: add ostree-rs-ext version-skew test
  • Loading branch information
cgwalters authored Oct 11, 2024
2 parents 2d1e928 + f66b39e commit e805417
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/e2e/playbooks/check-system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,26 @@

- name: check rpm-ostree status
command: rpm-ostree status
register: result_rpm_ostree_status
ignore_errors: true

# issue https://github.com/containers/bootc/issues/800
# ostree-rs-ext version-skew test (bumped in rpm-ostree and in bootc)
- name: check rpm-ostree output
block:
- assert:
that:
- "'error' not in result_rpm_ostree_status.stdout"
fail_msg: "rpm-ostree status failed"
success_msg: "rpm-ostree status succeeded"
always:
- set_fact:
total_counter: "{{ total_counter | int + 1 }}"
rescue:
- name: failed count + 1
set_fact:
failed_counter: "{{ failed_counter | int + 1 }}"

- name: check bootc status
command: bootc status
ignore_errors: true
Expand Down

0 comments on commit e805417

Please sign in to comment.