This commit is contained in:
Mick Grove 2025-11-16 23:30:14 -08:00
commit b5bc8e203b
2 changed files with 3 additions and 6 deletions

View file

@ -72,7 +72,7 @@ fn filters_invalid_mysql_uri_even_without_validation() -> anyhow::Result<()> {
"scan",
dir.path().to_str().unwrap(),
"--no-binary",
"--confidence=low",
"--confidence=low",
"--format",
"json",
"--no-validate",

View file

@ -47,9 +47,7 @@ async fn validates_mysql_secret_against_testcontainer() -> Result<()> {
.with_env_var("MYSQL_ROOT_PASSWORD", "secret")
.with_env_var("MYSQL_DATABASE", "app")
.with_env_var("MYSQL_ROOT_HOST", "%")
.with_wait_for(WaitFor::message_on_stdout(
"MySQL init process done. Ready for start up.",
));
.with_wait_for(WaitFor::message_on_stdout("MySQL init process done. Ready for start up."));
let container = docker.run(image);
let port = container.get_host_port_ipv4(3306);
@ -74,7 +72,6 @@ async fn validates_mysql_secret_against_testcontainer() -> Result<()> {
Ok(())
}
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
#[ignore]
async fn validates_postgres_secret_against_testcontainer() -> Result<()> {
@ -98,4 +95,4 @@ async fn validates_postgres_secret_against_testcontainer() -> Result<()> {
drop(container);
drop(docker);
Ok(())
}
}