コード例 #1
0
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()))