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()))