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
Ejemplo n.º 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()))
Ejemplo n.º 3
0
 def launch(**kwargs):
     with media_driver.launch(**kwargs):
         pass
Ejemplo n.º 4
0
def test_launch__default():
    with media_driver.launch() as driver:
        assert_that(driver, is_not(empty()))