From be197db866b8da802dceb55b460055edc16fcc86 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 25 Oct 2023 16:22:19 +0300 Subject: [PATCH] grpc-proxy: Use smaller waiting time This would speed the time checking if agl-shell was bounded or not. Shouldn't make that much of a difference but we do not need to wait 250 ms just for testing that. Bug-AGL: SPEC-4912 Signed-off-by: Marius Vlad Change-Id: I8751c1d69898a82a415ba9b756bdfe9657ef0546 --- grpc-proxy/main-grpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grpc-proxy/main-grpc.cpp b/grpc-proxy/main-grpc.cpp index 2f9350a..545b40f 100644 --- a/grpc-proxy/main-grpc.cpp +++ b/grpc-proxy/main-grpc.cpp @@ -437,7 +437,7 @@ register_shell_init(void) clock_gettime(CLOCK_MONOTONIC, &ts); ts.tv_sec = 0; - ts.tv_nsec = 250 * 1000 * 1000; // 250 ms + ts.tv_nsec = 50 * 1000 * 1000; // 50 ms // verify if 'bound_fail' was received while (true) { -- 2.16.6