From: Henry Gessau Date: Fri, 27 Jun 2014 02:11:58 +0000 (-0400) Subject: Use correct MAX_LEN constant in agent functional tests X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=54ffa26ce8e13ce0f77baae7b29bb793eb98f845;p=openstack-build%2Fneutron-build.git Use correct MAX_LEN constant in agent functional tests Closes-bug: #1334922 Change-Id: I62bd12da21e778f5cca97d6280c107575d912a81 --- diff --git a/neutron/tests/functional/agent/linux/base.py b/neutron/tests/functional/agent/linux/base.py index e8c069750..bdd718c85 100644 --- a/neutron/tests/functional/agent/linux/base.py +++ b/neutron/tests/functional/agent/linux/base.py @@ -56,7 +56,7 @@ class BaseLinuxTestCase(base.BaseTestCase): :param *args *kwargs: These will be passed to the create function. """ while True: - name = self.get_rand_name(n_const.DEV_NAME_MAX_LEN, name_prefix) + name = self.get_rand_name(n_const.DEVICE_NAME_MAX_LEN, name_prefix) try: return creation_func(name, *args, **kwargs) except RuntimeError: