Пример #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()
Пример #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()
Пример #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()
Пример #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()
Пример #5
0
 def test_re_shm_creation(self):
     assert lib.re_shm_exists()
Пример #6
0
 def test_re_shm_creation(self):
     assert lib.re_shm_exists()