Skip to content

Commit

Permalink
Disable some suites in 2.1 (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
w41ter authored Jan 9, 2025
1 parent cd11511 commit ca066e2
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ suite("test_ds_alt_prop_row_store") {
def helper = new GroovyShell(new Binding(['suite': delegate]))
.evaluate(new File("${context.config.suitePath}/../common", "helper.groovy"))

if (!helper.is_version_supported([30004, 20199, 20099])) {
// disable in 2.1/2.0
def version = helper.upstream_version()
logger.info("skip this suite because version is not supported, upstream version ${version}")
return
}

def dbName = context.dbName
def tableName = "tbl_" + helper.randomSuffix()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ suite("test_ds_prop_row_store") {
def helper = new GroovyShell(new Binding(['suite': delegate]))
.evaluate(new File("${context.config.suitePath}/../common", "helper.groovy"))

if (!helper.is_version_supported([30004, 20199, 20099])) {
// disable in 2.1/2.0
def version = helper.upstream_version()
logger.info("skip this suite because version is not supported, upstream version ${version}")
return
}

def dbName = context.dbName
def tableName = "tbl_" + helper.randomSuffix()
def test_num = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ suite("test_ds_tbl_res_agg_state") {
def helper = new GroovyShell(new Binding(['suite': delegate]))
.evaluate(new File("${context.config.suitePath}/../common", "helper.groovy"))

if (!helper.is_version_supported([30004, 20199, 20099])) {
def version = helper.upstream_version()
logger.info("skip this suite because version is not supported, upstream version ${version}")
return
}

def tableName = "tbl_" + helper.randomSuffix()
def aggTableName = "agg_" + helper.randomSuffix()
def test_num = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ suite("test_ts_alt_prop_row_store") {
def helper = new GroovyShell(new Binding(['suite': delegate]))
.evaluate(new File("${context.config.suitePath}/../common", "helper.groovy"))

if (!helper.is_version_supported([30004, 20199, 20099])) {
// disable in 2.1/2.0
def version = helper.upstream_version()
logger.info("skip this suite because version is not supported, upstream version ${version}")
return
}

def dbName = context.dbName
def tableName = "tbl_" + helper.randomSuffix()

Expand Down

0 comments on commit ca066e2

Please sign in to comment.