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

[fix](regression test) fix test_report_version_missing due to set force_olap_table_replication_num #38211

Merged
merged 2 commits into from
Jul 23, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ import org.apache.doris.regression.suite.ClusterOptions
import org.apache.doris.regression.util.NodeType

suite('test_report_version_missing', "nonConcurrent") {
if (isCloudMode()) {
return
}
def tableName = "test_set_replica_status_table_in_docker"
try {
setFeConfig('disable_tablet_scheduler', true)
Thread.sleep(2000)

sql "DROP TABLE IF EXISTS ${tableName}"
sql """
CREATE TABLE ${tableName} (
Expand All @@ -45,7 +52,7 @@ suite('test_report_version_missing', "nonConcurrent") {
tabletId = res.TabletId
break
}
try {

GetDebugPoint().enableDebugPointForAllBEs("Tablet.build_tablet_report_info.version_miss", [tablet_id:"${tabletId}",version_miss:true])
boolean succ = false

Expand All @@ -68,6 +75,8 @@ suite('test_report_version_missing', "nonConcurrent") {
assertTrue(succ)

} finally {
setFeConfig('disable_tablet_scheduler', false)
GetDebugPoint().disableDebugPointForAllBEs("Tablet.build_tablet_report_info.version_miss")
sql "DROP TABLE IF EXISTS ${tableName}"
}
}
}
Loading