Skip to content

Commit 2788eb6

Browse files
authored
Merge pull request #1482 from kernelkit/random-infamy-id-in-ci
test: avoid infamy0 race in CI by using random container names
2 parents efa665d + ba05c2e commit 2788eb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ name()
122122
nm=infamy
123123
id=0
124124

125-
if [ -n "$random" ]; then
125+
if [ -n "$random" ] || [ -n "$CI" ]; then
126126
# Let podman/docker allocate random hostname and container name
127127
return
128128
fi

0 commit comments

Comments
 (0)