Skip to content

Commit 43dd9a6

Browse files
author
efajardo
committed
Stop TPC related services
1 parent 81e18a7 commit 43dd9a6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import osgtest.library.core as core
2+
import osgtest.library.files as files
3+
import osgtest.library.service as service
4+
import osgtest.library.osgunittest as osgunittest
5+
6+
class TestStopXrootdTPC(osgunittest.OSGTestCase):
7+
@core.elrelease(7,8)
8+
def test_01_stop_xrootd(self):
9+
if core.state['xrootd.tpc.backups-exist']:
10+
files.restore(core.config['xrootd.tpc.config'], "xrootd")
11+
12+
core.skip_ok_unless_installed('xrootd', by_dependency=True)
13+
self.skip_ok_if(core.state['xrootd_tpc_service'], 'did not start server')
14+
service.check_stop(core.config['xrootd_tpc_service_1'])
15+
service.check_stop(core.config['xrootd_tpc_service_2'])
16+

0 commit comments

Comments
 (0)