Skip to content

Commit

Permalink
fix cases
Browse files Browse the repository at this point in the history
  • Loading branch information
kaijchen committed Dec 20, 2024
1 parent 935f4d7 commit 772a491
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
// specific language governing permissions and limitations
// under the License.
suite("test_dynamic_partition") {
def config_row = sql """ ADMIN SHOW FRONTEND CONFIG LIKE 'force_olap_table_replication_allocation'; """
String old_conf_value = config_row[0][1]
sql """ ADMIN SET FRONTEND CONFIG ("force_olap_table_replication_allocation" = ""); """

// todo: test dynamic partition
sql "drop table if exists dy_par"
sql """
Expand Down Expand Up @@ -156,4 +160,7 @@ suite("test_dynamic_partition") {
exception "errCode = 2,"
}
sql "drop table if exists dy_par_bad"

// restore force_olap_table_replication_allocation to old_value
sql """ ADMIN SET FRONTEND CONFIG ("force_olap_table_replication_allocation" = "${old_conf_value}"); """
}

0 comments on commit 772a491

Please sign in to comment.