X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fframework.py;h=39fd37f4c73ed8da4bca339f02427484c6fca84f;hb=e090f4dbf59f2b0ab4c726062c8fa3190e4a1220;hp=eb59aadd8bf3ffcdc0886001f6c546b70e85f667;hpb=4c16d80067b35973ebc5a86d685db52fea2fd052;p=vpp.git diff --git a/test/framework.py b/test/framework.py index eb59aadd8bf..39fd37f4c73 100644 --- a/test/framework.py +++ b/test/framework.py @@ -462,19 +462,6 @@ class VppTestCase(unittest.TestCase): cls.wait_for_enter() - @classmethod - def wait_for_stats_socket(cls): - deadline = time.time() + 300 - ok = False - while time.time() < deadline or \ - cls.debug_gdb or cls.debug_gdbserver: - if os.path.exists(cls.stats_sock): - ok = True - break - cls.sleep(0.8) - if not ok: - cls.logger.critical("Couldn't stat : {}".format(cls.stats_sock)) - @classmethod def wait_for_coredump(cls): corefile = cls.tempdir + "/core" @@ -560,7 +547,6 @@ class VppTestCase(unittest.TestCase): else: hook = hookmodule.PollHook(cls) cls.vapi.register_hook(hook) - cls.wait_for_stats_socket() cls.statistics = VPPStats(socketname=cls.stats_sock) try: hook.poll_vpp()