From f13b01703b4df625f2014b99a2a5511352c4a35b Mon Sep 17 00:00:00 2001 From: Jamie Danielson Date: Mon, 11 Dec 2023 11:57:18 -0500 Subject: [PATCH] maint: update curl in smoke tests (#327) ## 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 --- smoke-tests/smoke-job.yaml | 2 +- smoke-tests/verify.bats | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/smoke-tests/smoke-job.yaml b/smoke-tests/smoke-job.yaml index 5dfd159..d43b3cb 100644 --- a/smoke-tests/smoke-job.yaml +++ b/smoke-tests/smoke-job.yaml @@ -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 diff --git a/smoke-tests/verify.bats b/smoke-tests/verify.bats index 0705063..38e54e3 100644 --- a/smoke-tests/verify.bats +++ b/smoke-tests/verify.bats @@ -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" {