Skip to content

Commit 6591fad

Browse files
authored
Merge pull request #126 from sthapa/slurm_fixes
Fix htcondor-ce test_06 skip
2 parents fd944b9 + b6be5b1 commit 6591fad

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

osgtest/tests/special_install.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ def test_02_install_packages(self):
3333
# FIXME: Install slurm out of contrib if we're running 'All' tests until
3434
# SOFTWARE-1733 gives us a generalized solution
3535
if 'osg-tested-internal' in pkg_repo_dict:
36-
all_slurm_packages = core.SLURM_PACKAGES + ['slurm-slurmdbd']
37-
pkg_repo_dict.update(dict((x, ['osg-development']) for x in all_slurm_packages))
36+
pkg_repo_dict.update(dict((x, ['osg-development']) for x in core.SLURM_PACKAGES))
3837

3938
for pkg, repos in pkg_repo_dict.items():
4039
# Do not try to re-install packages

osgtest/tests/test_55_condorce.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,7 @@ def test_05_pbs_trace(self):
110110

111111
def test_06_slurm_trace(self):
112112
self.general_requirements()
113-
core.skip_ok_unless_installed('slurm',
114-
'slurm-munge',
115-
'slurm-perlapi',
116-
'slurm-plugins',
117-
'slurm-sql')
113+
core.skip_ok_unless_installed(core.SLURM_PACKAGES)
118114
self.skip_bad_unless(service.is_running('munge'), 'slurm requires munge')
119115
self.skip_bad_unless(core.state['condor-ce.schedd-ready'], 'CE schedd not ready to accept jobs')
120116
self.skip_ok_unless(service.is_running(core.config['slurm.service-name']), 'slurm service not running')

0 commit comments

Comments
 (0)