log.debug('Running admin socket tests on %s', client)
(remote,) = ctx.cluster.only(client).remotes.iterkeys()
socket_path = '/var/run/ceph/ceph-{name}.asok'.format(name=client)
+ overrides = ctx.config.get('overrides', {}).get('admin_socket', {})
try:
tmp_dir = os.path.join(
for command, config in tests.iteritems():
if config is None:
config = {}
+ teuthology.deep_merge(config, overrides)
log.debug('Testing %s with config %s', command, str(config))
test_path = None
if 'test' in config:
+ url = config['test'].format(
+ branch=config.get('branch', 'master')
+ )
test_path = os.path.join(tmp_dir, command)
remote.run(
args=[
'-O',
test_path,
'--',
- config['test'],
+ url,
run.Raw('&&'),
'chmod',
'u=rx',