Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions crates/integration-tests/src/tests/run_ephemeral_ignition.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Integration tests for Ignition config injection

use color_eyre::Result;
use integration_tests::integration_test;
use itest::TestResult;
use xshell::cmd;

use std::fs;
Expand All @@ -23,7 +23,7 @@ const FCOS_IMAGE: &str = "quay.io/fedora/fedora-coreos:stable";
/// Note: We don't test actual Ignition application here because FCOS won't
/// apply Ignition configs in ephemeral mode (treats it as subsequent boot).
/// The config injection works correctly for custom bootc images with Ignition.
fn test_run_ephemeral_ignition_works() -> Result<()> {
fn test_run_ephemeral_ignition_works() -> TestResult {
let sh = shell()?;
let bck = get_bck_command()?;
let label = INTEGRATION_TEST_LABEL;
Expand Down Expand Up @@ -61,7 +61,7 @@ fn test_run_ephemeral_ignition_works() -> Result<()> {
integration_test!(test_run_ephemeral_ignition_works);

/// Test that Ignition config validation rejects nonexistent files
fn test_run_ephemeral_ignition_invalid_path() -> Result<()> {
fn test_run_ephemeral_ignition_invalid_path() -> TestResult {
let sh = shell()?;
let bck = get_bck_command()?;
let label = INTEGRATION_TEST_LABEL;
Expand Down Expand Up @@ -98,7 +98,7 @@ fn test_run_ephemeral_ignition_invalid_path() -> Result<()> {
integration_test!(test_run_ephemeral_ignition_invalid_path);

/// Test that Ignition is rejected for images that don't support it
fn test_run_ephemeral_ignition_unsupported_image() -> Result<()> {
fn test_run_ephemeral_ignition_unsupported_image() -> TestResult {
let sh = shell()?;
let bck = get_bck_command()?;
let label = INTEGRATION_TEST_LABEL;
Expand Down
Loading