Skip to content

Commit

Permalink
Merge pull request #21234 from edsantiago/sdnotify_race
Browse files Browse the repository at this point in the history
systests: kube with policies test: fix race
  • Loading branch information
openshift-merge-bot[bot] authored Jan 15, 2024
2 parents 3a46fe8 + 0e09527 commit 9fed92b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/system/260-sdnotify.bats
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ spec:
- command:
- /bin/sh
- -c
- 'printenv NOTIFY_SOCKET; while ! test -f /stop;do sleep 0.1;done'
- 'printenv NOTIFY_SOCKET; echo READY; while ! test -f /stop;do sleep 0.1;done'
image: $SYSTEMD_IMAGE
name: a
- command:
Expand Down Expand Up @@ -367,6 +367,7 @@ EOF
die "container $container_a and/or $container_b did not start"
fi

wait_for_ready $container_a
# Make sure the containers have the correct policy
run_podman container inspect $container_a $container_b $service_container --format "{{.Config.SdNotifyMode}}"
is "$output" "container
Expand Down

1 comment on commit 9fed92b

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

podman-next COPR build failed. @containers/packit-build please check.

Please sign in to comment.