Skip to content

Commit

Permalink
exclude whole test suite, otherwise tests are run again on the alread…
Browse files Browse the repository at this point in the history
…y excluded ones 🤷
  • Loading branch information
janpio committed Dec 2, 2023
1 parent a702a9b commit 660136b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use query_engine_tests::*;

// https://stackoverflow.com/questions/4380813/how-to-get-rid-of-mysql-error-prepared-statement-needs-to-be-re-prepared
// Looks like there's a bug with create view stmt on MariaDB
#[test_suite(schema(schema), exclude(MongoDb, MySQL("mariadb"), Vitess))]
#[test_suite(schema(schema), exclude(MongoDb, MySQL("mariadb"), MySql(5.6), Vitess))]
mod views {
use query_engine_tests::{connector_test, run_query, Runner};

Expand Down Expand Up @@ -37,7 +37,7 @@ mod views {
schema.to_owned()
}

#[connector_test(exclude(MySql(5.6)))]
#[connector_test]
async fn simple_read(runner: Runner) -> TestResult<()> {
create_test_data(&runner, "simple_read").await?;

Expand All @@ -63,7 +63,7 @@ mod views {
Ok(())
}

#[connector_test(exclude(MySql(5.6)))]
#[connector_test]
async fn filtered_read(runner: Runner) -> TestResult<()> {
create_test_data(&runner, "filtered_read").await?;

Expand All @@ -88,7 +88,7 @@ mod views {
Ok(())
}

#[connector_test(exclude(MySql(5.6)))]
#[connector_test]
async fn sorted_read(runner: Runner) -> TestResult<()> {
create_test_data(&runner, "sorted_read").await?;

Expand Down

0 comments on commit 660136b

Please sign in to comment.