Skip to content

Commit

Permalink
Update test db/log filepath
Browse files Browse the repository at this point in the history
Move db/log out of a subdirectory to align with bgp tests, so
buildomat scripts are happy and consistent.

Signed-off-by: Trey Aspelund <trey@oxidecomputer.com>
  • Loading branch information
taspelund committed Oct 25, 2024
1 parent 8e5d38f commit 8735a28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rdb/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -788,8 +788,8 @@ mod test {
let static_path1 = Path::from(static_key1);

// setup
let log = init_file_logger("/tmp/rib.log");
let db_path = "/tmp/rb.db".to_string();
let log = init_file_logger("rib.log");
let db_path = "rib.db".to_string();
let _ = std::fs::remove_dir_all(&db_path);
let db = Db::new(&db_path, log.clone()).expect("create db");

Expand Down

0 comments on commit 8735a28

Please sign in to comment.