From 400ce717ac043ceec404103dbaa87dd17d92feb7 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Mon, 15 Mar 2021 21:30:15 +0100 Subject: api: allow specifying no timeout This functionality is used in make test when DEBUG=gdb is used. Type: fix Signed-off-by: Klement Sekera Change-Id: I1339e6460aa624a3bcb4b03db46991590e126f92 --- src/vpp-api/python/vpp_papi/vpp_transport_socket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vpp-api/python/vpp_papi/vpp_transport_socket.py b/src/vpp-api/python/vpp_papi/vpp_transport_socket.py index b0861057e72..c82b8c365a1 100644 --- a/src/vpp-api/python/vpp_papi/vpp_transport_socket.py +++ b/src/vpp-api/python/vpp_papi/vpp_transport_socket.py @@ -23,7 +23,7 @@ class VppTransport: def __init__(self, parent, read_timeout, server_address): self.connected = False - self.read_timeout = read_timeout if read_timeout > 0 else 1 + self.read_timeout = read_timeout if read_timeout > 0 else None self.parent = parent self.server_address = server_address self.header = struct.Struct('>QII') -- cgit 1.2.3-korg