Skip to content

Commit

Permalink
fix mtmv test
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinKirs committed Dec 6, 2023
1 parent 7aa058f commit 14f48f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions regression-test/suites/mtmv_p0/test_build_mtmv.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,11 @@ suite("test_build_mtmv") {
sql """
DROP MATERIALIZED VIEW ${mvName}
"""
def jobs = sql """show mtmv job for ${jobName}"""
def jobs = sql """select count(1) from jobs("type"="mv") where name= '${jobName}'"""
println jobs
assertEquals(jobs.size(), 0);
def tasks = sql """show mtmv job tasks for ${jobName}"""
assertEquals(jobs.get(0).get(0), 0);
def tasks = sql """select count(1) from tasks("type"="mv") where jobname = '${jobName}'"""
println tasks
assertEquals(tasks.size(), 0);
assertEquals(tasks.get(0).get(0), 0);

}

0 comments on commit 14f48f5

Please sign in to comment.