tests: refactor. Replace literal constant w/ named constant.
[vpp.git] / test / test_vcl.py
index 269a961..121b972 100644 (file)
@@ -215,7 +215,7 @@ class VCLTestCase(VppTestCase):
                 os.killpg(os.getpgid(worker_client.process.pid),
                           signal.SIGKILL)
                 worker_client.join()
-            except:
+            except OSError:
                 self.logger.debug(
                     "Couldn't kill client worker process")
                 raise