Strengthen test

pull/18341/head
Vijay Pai 6 years ago
parent 0cb0cdb7e3
commit f12f862d28
  1. 4
      test/cpp/end2end/test_service_impl.cc

@ -263,6 +263,10 @@ void CallbackTestServiceImpl::Echo(
EXPECT_TRUE(context->IsCancelled());
EXPECT_TRUE(
cancel_state->callback_invoked.load(std::memory_order_relaxed));
} else {
EXPECT_FALSE(context->IsCancelled());
EXPECT_FALSE(
cancel_state->callback_invoked.load(std::memory_order_relaxed));
}
}
// A bit of sleep to make sure that short deadline tests fail

Loading…
Cancel
Save