This is an automated email from the ASF dual-hosted git repository. menghaoran pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push: new 61b93001ebf Add global yaml for rdl e2e sql test (#36140) 61b93001ebf is described below commit 61b93001ebf46854b2e578727bfb40818f01a7c2 Author: Haoran Meng <menghaora...@gmail.com> AuthorDate: Thu Jul 31 22:37:34 2025 +0800 Add global yaml for rdl e2e sql test (#36140) --- .../distsql_rdl/proxy/mode/cluster/global.yaml | 51 ++++++++++++++++++++++ .../distsql_rdl/proxy/mode/standalone/global.yaml | 51 ++++++++++++++++++++++ 2 files changed, 102 insertions(+) diff --git a/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/proxy/mode/cluster/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/proxy/mode/cluster/global.yaml new file mode 100644 index 00000000000..198a2e6b239 --- /dev/null +++ b/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/proxy/mode/cluster/global.yaml @@ -0,0 +1,51 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +mode: + type: Cluster + repository: + type: ZooKeeper + props: + namespace: it_db + server-lists: zk.host:2181 + timeToLiveSeconds: 60 + operationTimeoutMilliseconds: 500 + retryIntervalMilliseconds: 500 + maxRetries: 3 + +authority: + users: + - user: proxy + password: Proxy@123 + admin: true + privilege: + type: ALL_PERMITTED + +sqlParser: + sqlStatementCache: + initialCapacity: 2000 + maximumSize: 65535 + parseTreeCache: + initialCapacity: 128 + maximumSize: 1024 + +props: + max-connections-size-per-query: 1 + kernel-executor-size: 16 # Infinite by default. + proxy-frontend-flush-threshold: 128 # The default value is 128. + sql-show: false + proxy-frontend-ssl-enabled: true diff --git a/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/proxy/mode/standalone/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/proxy/mode/standalone/global.yaml new file mode 100644 index 00000000000..199f2a1e8f7 --- /dev/null +++ b/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/proxy/mode/standalone/global.yaml @@ -0,0 +1,51 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +#mode: +# type: Cluster +# repository: +# type: ZooKeeper +# props: +# namespace: it_db +# server-lists: zk.host:2181 +# timeToLiveSeconds: 60 +# operationTimeoutMilliseconds: 500 +# retryIntervalMilliseconds: 500 +# maxRetries: 3 + +authority: + users: + - user: proxy + password: Proxy@123 + admin: true + privilege: + type: ALL_PERMITTED + +sqlParser: + sqlStatementCache: + initialCapacity: 2000 + maximumSize: 65535 + parseTreeCache: + initialCapacity: 128 + maximumSize: 1024 + +props: + max-connections-size-per-query: 1 + kernel-executor-size: 16 # Infinite by default. + proxy-frontend-flush-threshold: 128 # The default value is 128. + sql-show: false + proxy-frontend-ssl-enabled: true