Skip to content

//test/common/http:async_client_impl_test is flaky #845

Description

@htuch
 bazel test //test/common/http:async_client_impl_test --runs_per_test=5000

I see a few fails per thousand with the following failed test case:

[ RUN      ] AsyncClientImplTest.MultipleStreams
unknown file: Failure

Unexpected mock function call - returning directly.
    Function call: onHeaders_(@0x1d426e0 {':status','200'}{'x-envoy-upstream-service-time','4'}, false)
Google Mock tried the following 1 expectation, but it didn't match:

test/common/http/async_client_impl_test.cc:238: EXPECT_CALL(stream_callbacks_, onHeaders_(HeaderMapEqualRef(&expected_headers), false))...
  Expected arg #0: header map equal ref 0x7ffeb50b8580
           Actual: {':status','200'}{'x-envoy-upstream-service-time','4'}
         Expected: to be called once
           Actual: never called - unsatisfied and active
test/common/http/async_client_impl_test.cc:238: Failure
Actual function call count doesn't match EXPECT_CALL(stream_callbacks_, onHeaders_(HeaderMapEqualRef(&expected_headers), false))...
         Expected: to be called once
           Actual: never called - unsatisfied and active

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions