From cb5b8cae404326039eecc129d674359e82fba73f Mon Sep 17 00:00:00 2001 From: Miguel Fernandez Date: Mon, 20 Nov 2023 16:30:03 +0100 Subject: [PATCH] Fix running only in driver adapter mode --- .../query-tests-setup/src/connector_tag/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query-engine/connector-test-kit-rs/query-tests-setup/src/connector_tag/mod.rs b/query-engine/connector-test-kit-rs/query-tests-setup/src/connector_tag/mod.rs index 16d8fb7b4d9..ea9b35fe9ad 100644 --- a/query-engine/connector-test-kit-rs/query-tests-setup/src/connector_tag/mod.rs +++ b/query-engine/connector-test-kit-rs/query-tests-setup/src/connector_tag/mod.rs @@ -321,7 +321,7 @@ pub(crate) fn should_run( // We only run tests that include JS driver adapters when an external test executor is configured. // A test that you only want to run with js driver adapters can be annotated with only(JS) - if running_driver_adapters && only.iter().any(|incl| incl.0.to_uppercase() == "JS") { + if !running_driver_adapters && only.iter().any(|incl| incl.0.to_uppercase() == "JS") { println!("Excluded test execution for rust driver adapters. Skipping test"); return false; }