← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1211098] Re: Don't need to init testr in run_tests.sh

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1211098

Title:
  Don't need to init testr in run_tests.sh

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  In run_tests.sh, function init_testr will initialize testr if the
  directory .testrepository is not existed. Actually, testr will do the
  check before run the test:

  In Python package testrepository, setuptools_command.py:Testr.run

   68     def run(self):
   69         """Set up testr repo, then run testr"""
   70         if not os.path.isdir(".testrepository"):
   71             self._run_testr("init")

  So, init_testr can be removed safely.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1211098/+subscriptions