Lower ObjectVersionChecker logging to DEBUG level
The ObjectVersionChecker fixture is logging object comparison at INFO which in some tests can blow up the subunit output stream capture parser (see nova bug 1813147). This change drops the logging level to DEBUG which can be enabled using the OS_DEBUG environment variable found in oslotest. Change-Id: If20663ecad19f18f22172ae489206b42489fd9f6 Closes-Bug: #1815223
This commit is contained in:
parent
2847ec2f58
commit
1fbd1b557a
|
@ -320,8 +320,9 @@ class ObjectVersionChecker(object):
|
||||||
kwargs = {'version_manifest': manifest} if manifest else {}
|
kwargs = {'version_manifest': manifest} if manifest else {}
|
||||||
for n in range(version[1] + 1):
|
for n in range(version[1] + 1):
|
||||||
test_version = '%d.%d' % (version[0], n)
|
test_version = '%d.%d' % (version[0], n)
|
||||||
LOG.info('testing obj: %s version: %s' %
|
# Run the test with OS_DEBUG=True to see this.
|
||||||
(obj_class.obj_name(), test_version))
|
LOG.debug('testing obj: %s version: %s' %
|
||||||
|
(obj_class.obj_name(), test_version))
|
||||||
kwargs['target_version'] = test_version
|
kwargs['target_version'] = test_version
|
||||||
obj_class(*init_args, **init_kwargs).obj_to_primitive(**kwargs)
|
obj_class(*init_args, **init_kwargs).obj_to_primitive(**kwargs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue