This commit is contained in:
@@ -89,7 +89,6 @@ mod tests {
|
||||
let host = container.get_host().await?;
|
||||
let port = container.get_host_port_ipv4(1433).await?;
|
||||
let connection_string = format!("jdbc:sqlserver://{}:{};username=sa;password=TestOnlyContainer123", host, port).to_owned();
|
||||
let connection_string = "jdbc:sqlserver://localhost:1433;username=sa;password=TestOnlyContainer123;Encrypt=False".to_owned();
|
||||
|
||||
let runner = PullFromDBNodeRunner {
|
||||
pull_from_db_node: PullFromDBNode {
|
||||
|
||||
@@ -138,3 +138,26 @@ impl RunnableNode for UploadNodeRunner {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::graph::upload_to_db::{DBType, UploadNode, UploadNodeRunner};
|
||||
|
||||
#[test]
|
||||
pub fn check_basic_upload() {
|
||||
let upload_ode = UploadNodeRunner {
|
||||
upload_node: UploadNode {
|
||||
file_path: "".to_owned(),
|
||||
table_name: "".to_string(),
|
||||
column_mappings: None,
|
||||
post_script: None,
|
||||
db_type: DBType::Mysql,
|
||||
connection_string: "".to_string(),
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#[test]
|
||||
pub fn check_batch_upload() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user