use go 1.24, enable unencrypted http2 (#3470)

This commit is contained in:
mmetc 2025-02-19 14:05:17 +01:00 committed by GitHub
parent efbb42bf9e
commit c4ff4228be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 58 additions and 23 deletions

View file

@ -74,7 +74,7 @@ teardown() {
payload=$(yq -o j '.remediation_components[0].utc_startup_timestamp = "2021-09-01T00:00:00Z"' <<<"$payload")
rune -22 curl-with-key '/v1/usage-metrics' -X POST --data "$payload"
assert_stderr --partial "error: 400"
assert_json '{message: "json: cannot unmarshal string into Go struct field AllMetrics.remediation_components of type int64"}'
assert_json '{message: "json: cannot unmarshal string into Go struct field AllMetrics.remediation_components.utc_startup_timestamp of type int64"}'
payload=$(yq -o j '.remediation_components[0].utc_startup_timestamp = 1707399316' <<<"$payload")
rune -0 curl-with-key '/v1/usage-metrics' -X POST --data "$payload"