Skip to content

Commit d0aeda4

Browse files
author
Tim Middleton
committed
Exclude queues examples on old versions
1 parent a87cb2e commit d0aeda4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/run-test-examples.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ do
5252
echo "==========================================="
5353

5454
if [ ! -z `echo $file | grep queues` ]; then
55-
# Check for queues which cannot be run unless 24.03+
56-
if [ ! -z `echo $COHERENCE_VERSION | grep 24.03`]; then
57-
go run -race $file
55+
# Check for queues which cannot be run unless we have versions 24.09, 14.1.2, or 15.1.1
56+
if echo "$COHERENCE_VERSION" | grep -q -e 24.09 -e 14.1.2 -e 15.1.1; then
57+
go run -race "$file"
5858
fi
5959
else
6060
go run -race $file

0 commit comments

Comments
 (0)