From d23b36c598cd30f2da7446ef20154f6172ae8795 Mon Sep 17 00:00:00 2001
From: Ethan Koenig <ethantkoenig@gmail.com>
Date: Mon, 28 Aug 2017 06:36:02 -0700
Subject: [PATCH] Error message for integration test (#2410)

---
 integrations/integration_test.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/integrations/integration_test.go b/integrations/integration_test.go
index 2840b0fb69..4953eb280a 100644
--- a/integrations/integration_test.go
+++ b/integrations/integration_test.go
@@ -268,7 +268,8 @@ func MakeRequest(t testing.TB, req *http.Request, expectedStatus int) *TestRespo
 	}
 	mac.ServeHTTP(respWriter, req)
 	if expectedStatus != NoExpectedStatus {
-		assert.EqualValues(t, expectedStatus, respWriter.HeaderCode)
+		assert.EqualValues(t, expectedStatus, respWriter.HeaderCode,
+			"Request URL: %s", req.URL.String())
 	}
 	return &TestResponse{
 		HeaderCode: respWriter.HeaderCode,