Skip to content

Commit

Permalink
[chttp2] Fix flaky retry_transparent_max_concurrent_streams test (grp…
Browse files Browse the repository at this point in the history
…c#34777)

Same fix as per grpc#34774
  • Loading branch information
ctiller authored Oct 23, 2023
1 parent 065efff commit 88a353c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <grpc/impl/channel_arg_names.h>
#include <grpc/status.h>

#include "src/core/ext/transport/chttp2/transport/internal.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gprpp/time.h"
#include "test/core/end2end/end2end_tests.h"
Expand All @@ -40,7 +41,9 @@ namespace {
// will be transparently retried after the server starts up again.
CORE_END2END_TEST(RetryHttp2Test, RetryTransparentMaxConcurrentStreams) {
const auto server_args =
ChannelArgs().Set(GRPC_ARG_MAX_CONCURRENT_STREAMS, 1);
ChannelArgs()
.Set(GRPC_ARG_MAX_CONCURRENT_STREAMS, 1)
.Set(GRPC_ARG_MAX_CONCURRENT_STREAMS_OVERLOAD_PROTECTION, false);
InitServer(server_args);
InitClient(ChannelArgs());
auto c =
Expand Down

0 comments on commit 88a353c

Please sign in to comment.