mirror of
https://github.com/bspeice/aeron-rs
synced 2025-07-05 07:44:51 -04:00
Fix issues with delete on start
Seems like Windows doesn't handle it properly?
This commit is contained in:
@ -85,10 +85,13 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn read_cnc_version() {
|
||||
let temp_dir = tempdir().unwrap();
|
||||
let dir = temp_dir.path().to_path_buf();
|
||||
temp_dir.close();
|
||||
|
||||
let dir = tempdir().unwrap().into_path();
|
||||
let _driver = DriverContext::default()
|
||||
.set_aeron_dir(&dir)
|
||||
.set_dir_delete_on_start(true)
|
||||
.build()
|
||||
.unwrap();
|
||||
|
||||
|
Reference in New Issue
Block a user