log state dir
On the log output, clearly show which state dir is used. Since all runs should use the same state dir, this is important and/or reassuring to see. Change-Id: Ie92f1879a35d8bb399ee916b7ef72f9ee7d47409
This commit is contained in:
parent
619447404f
commit
7e2e8f1d65
|
@ -25,7 +25,7 @@ resources:
|
|||
cnf -: DBG: Found config file resources.conf as [PATH]/selftest/suite_test/resources.conf in ./suite_test which is [PATH]/selftest/suite_test
|
||||
cnf -: DBG: Found path state_dir as [PATH]/selftest/suite_test/test_work/state_dir
|
||||
tst test_suite: Suite run start
|
||||
tst test_suite: reserving resources...
|
||||
tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ...
|
||||
tst test_suite: DBG: {combining='resources'} [test_suite↪test_suite]
|
||||
tst test_suite: DBG: {definition_conf={bts=[{'times': '1'}], modem=[{'times': '2'}], nitb_iface=[{'times': '1'}]}} [test_suite↪(combining_scenarios='resources')↪test_suite]
|
||||
tst test_suite: Reserving 1 x bts (candidates: 3) [test_suite↪test_suite]
|
||||
|
|
|
@ -186,7 +186,7 @@ class SuiteRun(log.Origin):
|
|||
def reserve_resources(self):
|
||||
if self.reserved_resources:
|
||||
raise RuntimeError('Attempt to reserve resources twice for a SuiteRun')
|
||||
self.log('reserving resources...')
|
||||
self.log('reserving resources in', self.resources_pool.state_dir, '...')
|
||||
with self:
|
||||
self.reserved_resources = self.resources_pool.reserve(self, self.resource_requirements())
|
||||
|
||||
|
|
Loading…
Reference in New Issue