Skip to content

Commit

Permalink
[chore] fix test (#5517)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughesjj authored Oct 17, 2024
1 parent 75f5aa1 commit f74c8c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jq '[.results[].created, .results[].lastUpdated] | max as $max | $max >= ($ENV.C
# Ensure version is as expected
actual_version="$(grep "Version" "$BUILD_DIR/splunklog/splunk/otel.log" | head -1 | awk -F 'Version": "' '{print $2}' | awk -F '", "' '{print $1}')"
echo "actual version: $actual_version"
[[ "$actual_version" != "v0.104.0" ]] && echo "Test failed -- invalid version" && exit 1
[[ "$actual_version" != "v0.111.0" ]] && echo "Test failed -- invalid version" && exit 1

# Ensure gateway mode (and any other tests we wish to run) works
"$SOURCE_DIR/packaging-scripts/cicd-tests/gateway.sh" || (echo "failed to verify gateway" && exit 1)
Expand Down

0 comments on commit f74c8c4

Please sign in to comment.