pull/36848/head
Craig Tiller 6 months ago
parent bc6a1c6922
commit af18b7a0cd
  1. 5
      test/core/call/client_call_test.cc
  2. 1
      test/core/call/yodel/fuzzer_main.cc
  3. 1
      test/core/call/yodel/test_main.cc
  4. 2
      test/core/call/yodel/yodel_test.cc
  5. 2
      test/core/call/yodel/yodel_test.h

@ -98,7 +98,10 @@ class ClientCallTest : public YodelTest {
return;
}
expectations_ = 0;
cq_verifier_->Verify(timeout.value_or(Duration::Seconds(10)), whence);
cq_verifier_->Verify(
timeout.value_or(g_yodel_fuzzing ? Duration::Minutes(5)
: Duration::Seconds(10)),
whence);
}
CallHandler& handler() {

@ -36,6 +36,7 @@ bool squelch = true;
static void dont_log(gpr_log_func_args* /*args*/) {}
DEFINE_PROTO_FUZZER(const transport_test_suite::Msg& msg) {
grpc_core::g_yodel_fuzzing = true;
static const grpc_core::NoDestruct<
std::vector<grpc_core::yodel_detail::TestRegistry::Test>>
tests{grpc_core::yodel_detail::TestRegistry::AllTests()};

@ -19,6 +19,7 @@
#include "test/core/test_util/test_config.h"
int main(int argc, char** argv) {
grpc_core::g_yodel_fuzzing = false;
grpc::testing::TestEnvironment env(&argc, argv);
absl::BitGen bitgen;
::testing::InitGoogleTest(&argc, argv);

@ -27,6 +27,8 @@
namespace grpc_core {
bool g_yodel_fuzzing;
namespace yodel_detail {
TestRegistry* TestRegistry::root_ = nullptr;

@ -37,6 +37,8 @@ namespace grpc_core {
class YodelTest;
extern bool g_yodel_fuzzing;
namespace yodel_detail {
// Capture the name and location of a test step.

Loading…
Cancel
Save