Skip to content

Commit

Permalink
test(storage): relax integration test checks (#8846)
Browse files Browse the repository at this point in the history
I am planning to replace the implementation of `httpbin` in the
testbench, the new implementation has a less amusing payload for
`418 - I AM A TEAPOT` errors. The new expectation passes with both the
current and the upcoming `echo` service.
  • Loading branch information
coryan authored May 2, 2022
1 parent d4af1c3 commit a24af94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ TEST(CurlRequestTest, HandleTeapot) {
auto response = RetryMakeRequest(factory, {}, 418);
ASSERT_STATUS_OK(response);
ASSERT_EQ(418, response->status_code) << "response=" << *response;
EXPECT_THAT(response->payload, HasSubstr("[ teapot ]"));
EXPECT_THAT(response->payload, HasSubstr("teapot"));
}

/// @test Verify the response includes the header values.
Expand Down

0 comments on commit a24af94

Please sign in to comment.