Skip to content

Commit

Permalink
added test header
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmittag committed Jun 23, 2023
1 parent fd4fd39 commit 951c65e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integration/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ func PerformJ8aTest(t *testing.T, testMethod string, wantUpstreamWaitSeconds int
client = &http.Client{}
}

resp, err := client.Get(fmt.Sprintf("%s://localhost:%d/mse6%s?wait=%d", scheme, serverPort, testMethod, wantUpstreamWaitSeconds))
req, _ := http.NewRequest("GET", fmt.Sprintf("%s://localhost:%d/mse6%s?wait=%d", scheme, serverPort, testMethod, wantUpstreamWaitSeconds), nil)
req.Header.Set("X-REQUEST-INFO", "true")
resp, err := client.Do(req)
gotTotalWait := time.Since(start)

if err != nil {
Expand Down

0 comments on commit 951c65e

Please sign in to comment.