mirror of
https://github.com/ceph/ceph
synced 2025-03-30 23:40:09 +00:00
do not check the jobid if check-locks is False
Because it relies on the lock server which is presumably not available since check-locks was set to False. It matters when using teuthology on a minimal installation. http://tracker.ceph.com/issues/5946 fixes #5946 Signed-off-by: Loic Dachary <loic@dachary.org>
This commit is contained in:
parent
9213862164
commit
9d4104f45b
@ -36,7 +36,7 @@ def get_testdir(ctx):
|
||||
|
||||
# check if a jobid exists in the machine status for all our targets
|
||||
# and if its the same jobid, use that as the subdir for the test
|
||||
if not checked_jobid:
|
||||
if not checked_jobid and ctx.config.get('check-locks') != False:
|
||||
jobids = {}
|
||||
for machine in ctx.config['targets'].iterkeys():
|
||||
status = lockstatus.get_status(ctx, machine)
|
||||
|
Loading…
Reference in New Issue
Block a user