Merge "Use correct MAX_LEN constant in agent functional tests"

Jenkins 2014-06-27 09:09:18 +00:00 committed by Gerrit Code Review
commit 52e281c736
1 changed files with 1 additions and 1 deletions

View File

@ -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)
return creation_func(name, *args, **kwargs)
except RuntimeError: