Skip to content

Commit

Permalink
fix update background ddl test
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Apr 11, 2024
1 parent 6694567 commit 572fd3d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ async fn test_foreground_index_cancel() -> Result<()> {
}

#[tokio::test]
async fn test_sink_create() -> Result<()> {
async fn test_background_sink_create() -> Result<()> {
init_logger();
let mut cluster = Cluster::start(Configuration::for_background_ddl()).await?;
let mut session = cluster.start_session();
Expand All @@ -450,6 +450,7 @@ async fn test_sink_create() -> Result<()> {

let mut session2 = cluster.start_session();
tokio::spawn(async move {
session2.run(SET_BACKGROUND_DDL).await.unwrap();
session2.run(SET_RATE_LIMIT_2).await.unwrap();
session2
.run("CREATE SINK s FROM t WITH (connector='blackhole');")
Expand Down

0 comments on commit 572fd3d

Please sign in to comment.