aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end
diff options
context:
space:
mode:
authorGravatar ctiller <ctiller@google.com>2014-12-19 16:21:57 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2014-12-29 17:05:35 -0800
commit3bf466fb6c8cbbd4334d70be9c251feb71a7c78a (patch)
treeed26d5d417f67245175a9ad4883aa9c22691a04d /test/core/end2end
parent1a809c0ebbf77aedf7f6322ef7d6373962c80264 (diff)
Port [] alarm management to GRPC.
This change implements a platform independent alarm manager in alarm.c. It's integrated with iomgr, and some tests are cleaned up. The alarm implementation itself is a fairly direct port of LazyAlarmList from eventmanager. SpinLock has been replaced for now with gpr_mu, and other atomic operations have been dropped (again, for now). A majority of tests have been ported. Change on 2014/12/19 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82551363
Diffstat (limited to 'test/core/end2end')
-rw-r--r--test/core/end2end/no_server_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/end2end/no_server_test.c b/test/core/end2end/no_server_test.c
index f506b8bcf7..ba6349c109 100644
--- a/test/core/end2end/no_server_test.c
+++ b/test/core/end2end/no_server_test.c
@@ -41,7 +41,7 @@ static void *tag(gpr_intptr i) { return (void *)i; }
int main(int argc, char **argv) {
grpc_channel *chan;
grpc_call *call;
- gpr_timespec timeout = gpr_time_from_micros(4000000);
+ gpr_timespec timeout = gpr_time_from_seconds(4);
gpr_timespec deadline = gpr_time_add(gpr_now(), timeout);
grpc_completion_queue *cq;
cq_verifier *cqv;