This commit is contained in:
@@ -158,7 +158,7 @@ impl RunnableNode for UploadNodeRunner {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::path;
|
||||
use std::path::{self, PathBuf};
|
||||
|
||||
use crate::graph::node::RunnableNode;
|
||||
use crate::graph::upload_to_db::{DBType, UploadNode, UploadNodeRunner};
|
||||
@@ -175,7 +175,7 @@ mod tests {
|
||||
.with_wait_for(WaitFor::message_on_stdout("Recovery is complete.".to_owned()))
|
||||
.with_env_var("ACCEPT_EULA", "Y")
|
||||
.with_env_var("MSSQL_SA_PASSWORD", "TestOnlyContainer123")
|
||||
.with_mount(Mount::bind_mount(path::absolute("./testing/input/upload_to_db")?.to_string_lossy().to_string(), "/upload_to_db"))
|
||||
.with_copy_to("/upload_to_db/test.csv", PathBuf::from("./testing/input/upload_to_db/test.csv"))
|
||||
.start()
|
||||
.await?;
|
||||
let host = container.get_host().await?;
|
||||
|
||||
Reference in New Issue
Block a user