Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Bump sqllogictest from 0.18.0 to 0.19.1 #16098

Merged
merged 2 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 5 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/tests/simulation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ risingwave_sqlsmith = { workspace = true }
serde = "1.0.188"
serde_derive = "1.0.188"
serde_json = "1.0.107"
sqllogictest = "0.18"
sqllogictest = "0.19"
tempfile = "3"
tikv-jemallocator = { workspace = true }
tokio = { version = "0.2.24", package = "madsim-tokio" }
Expand Down
11 changes: 5 additions & 6 deletions src/tests/simulation/src/slt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use anyhow::{bail, Result};
use itertools::Itertools;
use rand::{thread_rng, Rng, SeedableRng};
use rand_chacha::ChaChaRng;
use sqllogictest::{ParallelTestError, Record};
use sqllogictest::{ParallelTestError, QueryExpect, Record, StatementExpect};

use crate::client::RisingWave;
use crate::cluster::{Cluster, KillOpts};
Expand Down Expand Up @@ -275,9 +275,8 @@ pub async fn run_slt_task(
loc: loc.clone(),
conditions: conditions.clone(),
connection: connection.clone(),
expected_error: None,
expected: StatementExpect::Ok,
sql: format!("SET BACKGROUND_DDL={background_ddl_setting};"),
expected_count: None,
};
tester.run_async(set_background_ddl).await.unwrap();
background_ddl_enabled = background_ddl_setting;
Expand Down Expand Up @@ -344,13 +343,13 @@ pub async fn run_slt_task(
// For background ddl
if let SqlCmd::CreateMaterializedView { ref name } = cmd
&& background_ddl_enabled
&& matches!(
&& !matches!(
record,
Record::Statement {
expected_error: None,
expected: StatementExpect::Error(_),
..
} | Record::Query {
expected_error: None,
expected: QueryExpect::Error(_),
..
}
)
Expand Down
Loading