Skip to content

Commit

Permalink
tests: Skip image.rs test for s390x
Browse files Browse the repository at this point in the history
There is an issue on pulling an image `mcr.microsoft.com/hello-world` on s390x.
It looks a load balancer for the microsoft registry is unstable so that the runner
was able to pull the image with 10& success ratio (see
confidential-containers/trustee#417)
It is not reasonable to let the test run under the unstable environment.

This commit skips the tests at image.rs for the platform.

Signed-off-by: Hyounggyu Choi <[email protected]>
  • Loading branch information
BbolroC committed Jun 14, 2024
1 parent f6a319f commit 90f3925
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions image-rs/src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ fn create_bundle(
Ok(image_id)
}

#[cfg(not(target_arch = "s390x"))]
#[cfg(feature = "snapshot-overlayfs")]
#[cfg(test)]
mod tests {
Expand Down

0 comments on commit 90f3925

Please sign in to comment.