diff --git a/conformance/02_push_test.go b/conformance/02_push_test.go index 5c4122a9..ea035639 100644 --- a/conformance/02_push_test.go +++ b/conformance/02_push_test.go @@ -219,7 +219,10 @@ var test02Push = func() { Expect(err).To(BeNil()) Expect(resp.StatusCode()).To(Equal(http.StatusNoContent)) Expect(resp.Header().Get("Location")).ToNot(BeEmpty()) - Expect(resp.Header().Get("Range")).To(Equal(testBlobBChunk1Range)) + Expect(resp.Header().Get("Range")).To(SatisfyAny( + Equal(testBlobBChunk1Range), // Allow missing "bytes=" prefix + Equal(fmt.Sprintf("bytes=%s", testBlobBChunk1Range)), + )) lastResponse = resp })