Skip to content

Commit

Permalink
Change the external website we use for the OCSP stapling test
Browse files Browse the repository at this point in the history
The previously used https://stackoverflow.com seems to no longer do it, so I switched it to https://www.microsoft.com. This is just a short-term fix, so that the tests don't break...
  • Loading branch information
na-- committed Dec 16, 2019
1 parent aa66c73 commit 9308833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/modules/k6/http/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,11 +449,11 @@ func TestRequestAndBatch(t *testing.T) {
}
t.Run("ocsp_stapled_good", func(t *testing.T) {
_, err := common.RunString(rt, `
let res = http.request("GET", "https://stackoverflow.com/");
let res = http.request("GET", "https://www.microsoft.com/");
if (res.ocsp.status != http.OCSP_STATUS_GOOD) { throw new Error("wrong ocsp stapled response status: " + res.ocsp.status); }
`)
assert.NoError(t, err)
assertRequestMetricsEmitted(t, stats.GetBufferedSamples(samples), "GET", "https://stackoverflow.com/", "", 200, "")
assertRequestMetricsEmitted(t, stats.GetBufferedSamples(samples), "GET", "https://www.microsoft.com/", "", 200, "")
})
})
t.Run("Invalid", func(t *testing.T) {
Expand Down

0 comments on commit 9308833

Please sign in to comment.