def aeron_directory():
    temp_dirs = temp_dir_candidates()

    where = os.path.join(tempdir, next(temp_dirs))
    with media_driver.launch(aeron_directory_name=where):
        yield where
Пример #2
0
def test_launch__customised(custom_aeron_dir):
    with media_driver.launch(aeron_directory_name=custom_aeron_dir) as driver:
        assert_that(driver, is_not(empty()))
Пример #3
0
 def launch(**kwargs):
     with media_driver.launch(**kwargs):
         pass
Пример #4
0
def test_launch__default():
    with media_driver.launch() as driver:
        assert_that(driver, is_not(empty()))