Skip to content

Commit a145f05

Browse files
author
Tim Zhou
committed
test: fixing tests duo to CRUN#1767
update tests duo to CRUN#1767 to support both values Signed-off-by: Tim Zhou <[email protected]> address comments Signed-off-by: Tim Zhou <[email protected]>
1 parent 5b6f46d commit a145f05

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ env:
3131
DEBIAN_NAME: "debian-13"
3232

3333
# Image identifiers
34-
IMAGE_SUFFIX: "c20250627t155202z-f42f41d13"
34+
IMAGE_SUFFIX: "c20250812t173301z-f42f41d13"
3535

3636
# EC2 images
3737
FEDORA_AMI: "fedora-aws-${IMAGE_SUFFIX}"

test/apiv2/20-containers.at

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,8 +766,8 @@ if root && test -e /dev/nullb0; then
766766
echo '{ "AttachStdout":true,"Cmd":["cat", "'$cgroupPath'"]}' >${TMPD}/exec.json
767767
t POST containers/updateCtr/exec ${TMPD}/exec.json 201 .Id~[0-9a-f]\\{64\\}
768768
eid=$(jq -r '.Id' <<<"$output")
769-
response=$('t POST exec/$eid/start 200')
770-
like_any "$response" $'\x01\x025' $'\x01\x0220' "cpu_weight is 5 or 20"
769+
t POST exec/$eid/start 200
770+
like "$(<$WORKDIR/curl.result.out)" $'^\(\x01\x025\|\x01\x0220\)$' "cpu.weight is 5 or 20"
771771

772772
BlkioDeviceReadBps_expected='[
773773
{

0 commit comments

Comments
 (0)