From b3c7c79c04ccf15c192a62b78d43040a34697b06 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 27 Feb 2017 02:05:42 +0100 Subject: python tests: vty and smpp: speed up >10 times osmo-python-tests now includes code that retries connecting the VTY socket and needs no external sleep()ing. This flies through most tests without any sleep() at all. See osmo-python-tests.git change-id Icc337f52a93d5fe31fc4ff235ccaf4e0fe75fa39 Change-Id: I42161d9716fe5bb0ef1c56e4bfb770bb99bbca7a --- openbsc/tests/smpp_test_runner.py | 1 - openbsc/tests/vty_test_runner.py | 1 - 2 files changed, 2 deletions(-) (limited to 'openbsc') diff --git a/openbsc/tests/smpp_test_runner.py b/openbsc/tests/smpp_test_runner.py index 4527ac42b..06fb7665b 100644 --- a/openbsc/tests/smpp_test_runner.py +++ b/openbsc/tests/smpp_test_runner.py @@ -47,7 +47,6 @@ class TestVTYBase(unittest.TestCase): except OSError: print >> sys.stderr, "Current directory: %s" % os.getcwd() print >> sys.stderr, "Consider setting -b" - time.sleep(1) appstring = self.vty_app()[2] appport = self.vty_app()[0] diff --git a/openbsc/tests/vty_test_runner.py b/openbsc/tests/vty_test_runner.py index 3f4909cb5..87b9eba97 100644 --- a/openbsc/tests/vty_test_runner.py +++ b/openbsc/tests/vty_test_runner.py @@ -49,7 +49,6 @@ class TestVTYBase(unittest.TestCase): except OSError: print >> sys.stderr, "Current directory: %s" % os.getcwd() print >> sys.stderr, "Consider setting -b" - time.sleep(1) appstring = self.vty_app()[2] appport = self.vty_app()[0] -- cgit v1.2.3