From eb20a12f25b7f3fc44a8f1579a3b59b1051d7aa7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 26 Oct 2022 17:05:04 +0000 Subject: [PATCH 1/2] Bump github.com/klauspost/compress from 1.15.11 to 1.15.12 Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.15.11 to 1.15.12. - [Release notes](https://github.com/klauspost/compress/releases) - [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml) - [Commits](https://github.com/klauspost/compress/compare/v1.15.11...v1.15.12) --- updated-dependencies: - dependency-name: github.com/klauspost/compress dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 068c889..9fc4883 100644 --- a/go.mod +++ b/go.mod @@ -21,7 +21,7 @@ require ( require ( github.com/andybalholm/brotli v1.0.4 - github.com/klauspost/compress v1.15.11 + github.com/klauspost/compress v1.15.12 github.com/simonmittag/procspy v0.0.4 ) diff --git a/go.sum b/go.sum index 19cb669..c3e6aeb 100644 --- a/go.sum +++ b/go.sum @@ -244,8 +244,8 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213/go.mod h1:vNUNkEQ1e29fT/6vq2aBdFsgNPmy8qMdSay1npru+Sw= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/compress v1.15.11 h1:Lcadnb3RKGin4FYM/orgq0qde+nc15E5Cbqg4B9Sx9c= -github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= +github.com/klauspost/compress v1.15.12 h1:YClS/PImqYbn+UILDnqxQCZ3RehC9N318SU3kElDUEM= +github.com/klauspost/compress v1.15.12/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= github.com/kolo/xmlrpc v0.0.0-20200310150728-e0350524596b/go.mod h1:o03bZfuBwAXHetKXuInt4S7omeXUu62/A845kiycsSQ= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= From b187aaf1f9affb9c83aabdc05727314095c2b930 Mon Sep 17 00:00:00 2001 From: "simon.mittag" Date: Mon, 7 Nov 2022 07:47:17 +1100 Subject: [PATCH 2/2] fixed broken integration test --- integration/connection/connection_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/integration/connection/connection_test.go b/integration/connection/connection_test.go index b3bd680..40239c9 100644 --- a/integration/connection/connection_test.go +++ b/integration/connection/connection_test.go @@ -62,7 +62,7 @@ func TestConnection_100ConcurrentTCPConnectionsUsingHTTP11(t *testing.T) { ConcurrentHTTP11ConnectionsSucceed(100, t) } -//this test covers all codes >=400 we just use 404 cause it's easy to evoke. +// this test covers all codes >=400 we just use 404 cause it's easy to evoke. func TestConnection_404ResponseClosesDownstreamConnectionUsingHTTP11(t *testing.T) { //step 1 we connect to j8a with net.dial c, err := net.Dial("tcp", ":8080") @@ -302,12 +302,12 @@ func ConcurrentHTTP11ConnectionsSucceed(total int, t *testing.T) { // upstream resource configured within j8a. func TestRuntime_CountResourceIps(t *testing.T) { proc, _ := process.NewProcess(int32(os.Getpid())) - ad, _ := net.LookupIP("adyntest.com") - ips := map[string][]net.IP{"adyntest.com": ad} + ad, _ := net.LookupIP("jsonplaceholder.typicode.com") + ips := map[string][]net.IP{"jsonplaceholder.typicode.com": ad} c := http.Client{Transport: &http.Transport{IdleConnTimeout: 0}} - resp, _ := c.Get("https://adyntest.com/about") + resp, _ := c.Get("https://jsonplaceholder.typicode.com/") if resp != nil { defer resp.Body.Close() } @@ -317,9 +317,9 @@ func TestRuntime_CountResourceIps(t *testing.T) { rt := j8a.Runtime{ Config: j8a.Config{ Resources: map[string][]j8a.ResourceMapping{ - "adyntest": []j8a.ResourceMapping{{ + "jsonplaceholder.typicode.com": []j8a.ResourceMapping{{ URL: j8a.URL{ - Host: "adyntest.com", + Host: "jsonplaceholder.typicode.com", Port: 443, }, }},