Skip to content

Commit

Permalink
maint: update curl in smoke tests (#327)
Browse files Browse the repository at this point in the history
## Which problem is this PR solving?

- Fixes failed test for updated curl image ([see failing test
here](https://github.com/honeycombio/honeycomb-network-agent/actions/runs/7144635179/job/19458679899?pr=325))

## Short description of the changes

- specify tag in curl docker image
- update smoke test for curl version

## How to verify that this has the expected result

passing smoke tests
  • Loading branch information
JamieDanielson committed Dec 11, 2023
1 parent c7932aa commit f13b017
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion smoke-tests/smoke-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
terminationGracePeriodSeconds: 30
containers:
- name: smoke-curl
image: docker.io/curlimages/curl
image: docker.io/curlimages/curl:8.5.0
imagePullPolicy: IfNotPresent
args:
- --verbose
Expand Down
2 changes: 1 addition & 1 deletion smoke-tests/verify.bats
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SCOPE="hny-network-agent"

@test "Agent includes specified headers as attributes" {
result=$(span_attributes_for ${SCOPE} | jq "select(.key == \"http.request.header.user_agent\").value.stringValue")
assert_equal "$result" '"curl/8.4.0"'
assert_equal "$result" '"curl/8.5.0"'
}

@test "Agent includes k8s source attributes" {
Expand Down

0 comments on commit f13b017

Please sign in to comment.