Exemplo n.º 1
0
 def test_re_shm_cleanup(self):
     irodsctl_fullpath = os.path.join(lib.get_irods_top_level_dir(),
                                      'iRODS', 'irodsctl')
     lib.assert_command([irodsctl_fullpath, 'stop'], 'STDOUT_SINGLELINE',
                        'Stopping iRODS server')
     assert not lib.re_shm_exists(), lib.re_shm_exists()
     lib.start_irods_server()
Exemplo n.º 2
0
    def test_shutdown(self):
        assert lib.re_shm_exists()

        lib.assert_command('irods-grid shutdown --all', 'STDOUT_SINGLELINE', 'shutting down')
        time.sleep(2)
        lib.assert_command('ils', 'STDERR_SINGLELINE', 'USER_SOCK_CONNECT_ERR')

        assert not lib.re_shm_exists(), lib.re_shm_exists()

        lib.start_irods_server()
Exemplo n.º 3
0
    def test_shutdown(self):
        assert lib.re_shm_exists()

        lib.assert_command('irods-grid shutdown --all', 'STDOUT_SINGLELINE',
                           'shutting down')
        time.sleep(2)
        lib.assert_command('ils', 'STDERR_SINGLELINE', 'USER_SOCK_CONNECT_ERR')

        assert not lib.re_shm_exists(), lib.re_shm_exists()

        lib.start_irods_server()
Exemplo n.º 4
0
 def test_re_shm_cleanup(self):
     irodsctl_fullpath = os.path.join(lib.get_irods_top_level_dir(), 'iRODS', 'irodsctl')
     lib.assert_command([irodsctl_fullpath, 'stop'], 'STDOUT_SINGLELINE', 'Stopping iRODS server')
     assert not lib.re_shm_exists(), lib.re_shm_exists()
     lib.start_irods_server()
Exemplo n.º 5
0
 def test_re_shm_creation(self):
     assert lib.re_shm_exists()
Exemplo n.º 6
0
 def test_re_shm_creation(self):
     assert lib.re_shm_exists()