diff --git a/test/core/end2end/fuzzers/api_fuzzer.cc b/test/core/end2end/fuzzers/api_fuzzer.cc index a36e3cebfc0..9f83bdc4492 100644 --- a/test/core/end2end/fuzzers/api_fuzzer.cc +++ b/test/core/end2end/fuzzers/api_fuzzer.cc @@ -81,8 +81,7 @@ // IWYU pragma: no_include // Applicable when simulating channel actions. Prevents overflows. -static constexpr uint64_t kMaxWaitMs = - 31536000000; // 1 year (24 * 365 * 3600 * 1000) +static constexpr uint64_t kMaxWaitMs = grpc_core::Duration::Hours(1).millis(); // Applicable when simulating channel actions. Prevents overflows. static constexpr uint64_t kMaxAddNReadableBytes = (2 * 1024 * 1024); // 2GB // Applicable when simulating channel actions. Prevents overflows. diff --git a/test/core/end2end/fuzzers/api_fuzzer_corpus/timeout-36dbe33cfc4d07ab5c01f283c901ee35bc6de2fd b/test/core/end2end/fuzzers/api_fuzzer_corpus/timeout-36dbe33cfc4d07ab5c01f283c901ee35bc6de2fd new file mode 100644 index 00000000000..cf3215f06a1 --- /dev/null +++ b/test/core/end2end/fuzzers/api_fuzzer_corpus/timeout-36dbe33cfc4d07ab5c01f283c901ee35bc6de2fd @@ -0,0 +1,49 @@ +actions { + create_server { + } +} +actions { + create_channel { + target: "unix::peht046,,\343\236\2349,Sac,,t" + channel_actions { + add_n_bytes_readable: 89 + wait_ms: 35195367205109760 + } + channel_actions { + add_n_bytes_writable: 31769 + add_n_bytes_readable: 35195367205109760 + } + channel_actions { + wait_ms: 20 + } + } +} +actions { + create_call { + propagation_mask: 9869440 + method { + value: "v" + } + timeout: 100000000 + } +} +actions { + queue_batch { + operations { + send_initial_metadata { + metadata { + key { + value: "grpc-tags-bin" + } + value { + value: "unix::peht046,,\343\236\2349,Sac,,t" + } + } + } + } + } +} +actions { +} +actions { +}