diff --git a/test/e2e/framework/request.go b/test/e2e/framework/request.go index e20e400..5dccd66 100644 --- a/test/e2e/framework/request.go +++ b/test/e2e/framework/request.go @@ -113,7 +113,7 @@ func (e *RequestExpect) Ensure(fns ...EnsureFunc) { if !bytes.Equal(e.expectResp, ret.Content) { flog.Trace("Response info: %+v", ret) } - ExpectEqualValuesWithOffset(1, e.expectResp, ret.Content, e.explain...) + ExpectEqualValuesWithOffset(1, ret.Content, e.expectResp, e.explain...) } else { for _, fn := range fns { ok := fn(ret)