We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da21d8b + 2b9ab6d commit 848779bCopy full SHA for 848779b
test/cpp/common/timer_test.cc
@@ -155,6 +155,20 @@ TEST_F(TimerTest, CancelSomeTimers) {
155
gpr_log(GPR_DEBUG, "wakeups: %" PRId64 "", wakeups);
156
}
157
158
+// Enable the following test after
159
+// https://github.com/grpc/grpc/issues/20049 has been fixed.
160
+#if 0
161
+TEST_F(TimerTest, TimerNotCanceled) {
162
+ grpc_core::ExecCtx exec_ctx;
163
+ grpc_timer timer;
164
+ grpc_timer_init(&timer, 10000,
165
+ GRPC_CLOSURE_CREATE(
166
+ [](void*, grpc_error*) {
167
+ },
168
+ nullptr, grpc_schedule_on_exec_ctx));
169
+}
170
+#endif
171
+
172
int main(int argc, char** argv) {
173
grpc::testing::TestEnvironment env(argc, argv);
174
::testing::InitGoogleTest(&argc, argv);
0 commit comments