[ARVADOS] updated: 1.3.0-1190-gbd54b9089

Git user git at public.curoverse.com
Fri Jul 12 18:50:45 UTC 2019


Summary of changes:
 sdk/python/tests/run_test_server.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  bd54b908943ce02edf1400fe8879f2383ad1c054 (commit)
      from  18056e7f71e5df94e98c6ccdcb0ea15cfd20f1ec (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit bd54b908943ce02edf1400fe8879f2383ad1c054
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Fri Jul 12 14:49:15 2019 -0400

    14965: Tweak netstat usage.
    
    Only list listening sockets, since those are the ones we're looking
    for. (-l, not -a)
    
    Don't truncate IP/port numbers. (-W)
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/sdk/python/tests/run_test_server.py b/sdk/python/tests/run_test_server.py
index 510ffbeca..20a6111dd 100644
--- a/sdk/python/tests/run_test_server.py
+++ b/sdk/python/tests/run_test_server.py
@@ -190,7 +190,7 @@ def _wait_until_port_listens(port, timeout=10, warn=True):
         return
     deadline = time.time() + timeout
     while time.time() < deadline:
-        if re.search(r'\ntcp.*:'+str(port)+' .* LISTEN *\n', str(subprocess.check_output(['netstat', '-an']))):
+        if re.search(r'\ntcp.*:'+str(port)+' .* LISTEN *\n', str(subprocess.check_output(['netstat', '-Wln']))):
             return True
         time.sleep(0.1)
     if warn:

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list