This is an automated email from the ASF dual-hosted git repository.
zhangliang 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 318650b54d1 Add YamlConsistencyCheckJobConfigurationTest (#37102)
318650b54d1 is described below
commit 318650b54d1c1cf8966ceb6181dbbdcc259d36f9
Author: Liang Zhang <[email protected]>
AuthorDate: Fri Nov 14 20:02:54 2025 +0800
Add YamlConsistencyCheckJobConfigurationTest (#37102)
---
.../YamlConsistencyCheckJobConfigurationTest.java | 30 ++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git
a/kernel/data-pipeline/scenario/consistency-check/src/test/java/org/apache/shardingsphere/data/pipeline/scenario/consistencycheck/config/yaml/config/YamlConsistencyCheckJobConfigurationTest.java
b/kernel/data-pipeline/scenario/consistency-check/src/test/java/org/apache/shardingsphere/data/pipeline/scenario/consistencycheck/config/yaml/config/YamlConsistencyCheckJobConfigurationTest.java
new file mode 100644
index 00000000000..9a2dcea3d77
--- /dev/null
+++
b/kernel/data-pipeline/scenario/consistency-check/src/test/java/org/apache/shardingsphere/data/pipeline/scenario/consistencycheck/config/yaml/config/YamlConsistencyCheckJobConfigurationTest.java
@@ -0,0 +1,30 @@
+/*
+ * 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.
+ */
+
+package
org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.config.yaml.config;
+
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertThrows;
+
+class YamlConsistencyCheckJobConfigurationTest {
+
+ @Test
+ void assertGetDatabaseName() {
+ assertThrows(UnsupportedOperationException.class, () -> new
YamlConsistencyCheckJobConfiguration().getDatabaseName());
+ }
+}