Skip to content

Commit fef21da

Browse files
committed
test: Fix codec_impl_fuzz_test by allowing for zero calls to decodeData
Signed-off-by: Rohit Agrawal <[email protected]>
1 parent e080692 commit fef21da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common/http/codec_impl_fuzz_test.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ class HttpStream : public LinkedObject<HttpStream> {
427427
[&] { directionalAction(response_, stream_action.dispatching_action()); }));
428428
} else if (request_action == test::common::http::DirectionalAction::kData) {
429429
EXPECT_CALL(request_.request_decoder_, decodeData(_, _))
430-
.Times(testing::AtLeast(1))
430+
.Times(testing::Between(0, testing::AnyNumber()))
431431
.WillRepeatedly(InvokeWithoutArgs([&] {
432432
// Only simulate response action if the stream action is active
433433
// otherwise the expectation could trigger in other moments

0 commit comments

Comments
 (0)