You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by pe...@apache.org on 2021/12/20 11:57:08 UTC
[pulsar] 18/22: Fix some test not enabled in integration tests. (#12417)
This is an automated email from the ASF dual-hosted git repository.
penghui pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 3e40197c1f8ae902b07431f019d4aadff98c5b92
Author: Zike Yang <ar...@armail.top>
AuthorDate: Thu Oct 21 09:19:03 2021 +0800
Fix some test not enabled in integration tests. (#12417)
(cherry picked from commit 7d9154bc0812311a77afb2f88b52f9c32c8989f4)
---
tests/integration/src/test/resources/pulsar-io-sources.xml | 2 ++
tests/integration/src/test/resources/pulsar-messaging.xml | 3 ++-
.../test/resources/{pulsar-io-sources.xml => pulsar-python.xml} | 8 ++++----
tests/integration/src/test/resources/pulsar-schema.xml | 1 +
.../resources/{pulsar-io-sources.xml => pulsar-semantics.xml} | 8 ++++----
.../test/resources/{pulsar-io-sources.xml => pulsar-upgrade.xml} | 8 ++++----
tests/integration/src/test/resources/pulsar.xml | 3 +++
7 files changed, 20 insertions(+), 13 deletions(-)
diff --git a/tests/integration/src/test/resources/pulsar-io-sources.xml b/tests/integration/src/test/resources/pulsar-io-sources.xml
index a5afc5d..636b3e4 100644
--- a/tests/integration/src/test/resources/pulsar-io-sources.xml
+++ b/tests/integration/src/test/resources/pulsar-io-sources.xml
@@ -23,6 +23,8 @@
<test name="pulsar-function-process-test-suite" preserve-order="true" >
<classes>
<class name="org.apache.pulsar.tests.integration.io.sources.debezium.PulsarDebeziumSourcesTest" />
+ <class name="org.apache.pulsar.tests.integration.io.sources.BatchSourceTest" />
+ <class name="org.apache.pulsar.tests.integration.io.sources.AvroKafkaSourceTest" />
</classes>
</test>
</suite>
\ No newline at end of file
diff --git a/tests/integration/src/test/resources/pulsar-messaging.xml b/tests/integration/src/test/resources/pulsar-messaging.xml
index 6421561..cfbdb22 100644
--- a/tests/integration/src/test/resources/pulsar-messaging.xml
+++ b/tests/integration/src/test/resources/pulsar-messaging.xml
@@ -26,8 +26,9 @@
<class name="org.apache.pulsar.tests.integration.messaging.NonPersistentTopicMessagingTest" />
<class name="org.apache.pulsar.tests.integration.messaging.GeoReplicationTest" />
<class name="org.apache.pulsar.tests.integration.messaging.DelayMessagingTest" />
+ <class name="org.apache.pulsar.tests.integration.messaging.ReaderMessagingTest" />
+ <class name="org.apache.pulsar.tests.integration.messaging.NonDurableConsumerMessagingTest" />
<class name="org.apache.pulsar.tests.integration.admin.AdminTest" />
- <class name="org.apache.pulsar.tests.integration.io.sources.AvroKafkaSourceTest" />
</classes>
</test>
</suite>
\ No newline at end of file
diff --git a/tests/integration/src/test/resources/pulsar-io-sources.xml b/tests/integration/src/test/resources/pulsar-python.xml
similarity index 77%
copy from tests/integration/src/test/resources/pulsar-io-sources.xml
copy to tests/integration/src/test/resources/pulsar-python.xml
index a5afc5d..a5faa63 100644
--- a/tests/integration/src/test/resources/pulsar-io-sources.xml
+++ b/tests/integration/src/test/resources/pulsar-python.xml
@@ -19,10 +19,10 @@
-->
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd" >
-<suite name="Pulsar IO Sources Integration Tests" verbose="2" annotations="JDK">
- <test name="pulsar-function-process-test-suite" preserve-order="true" >
+<suite name="Pulsar Python Integration Tests" verbose="2" annotations="JDK">
+ <test name="pulsar-python-test-suite" preserve-order="true" >
<classes>
- <class name="org.apache.pulsar.tests.integration.io.sources.debezium.PulsarDebeziumSourcesTest" />
+ <class name="org.apache.pulsar.tests.integration.python.PythonSchemaTest" />
</classes>
</test>
-</suite>
\ No newline at end of file
+</suite>
diff --git a/tests/integration/src/test/resources/pulsar-schema.xml b/tests/integration/src/test/resources/pulsar-schema.xml
index c24b4fa..e07fdf2 100644
--- a/tests/integration/src/test/resources/pulsar-schema.xml
+++ b/tests/integration/src/test/resources/pulsar-schema.xml
@@ -24,6 +24,7 @@
<classes>
<class name="org.apache.pulsar.tests.integration.schema.SchemaTest" />
<class name="org.apache.pulsar.tests.integration.schema.JodaTimeTest" />
+ <class name="org.apache.pulsar.tests.integration.python.PythonSchemaTest" />
</classes>
</test>
</suite>
diff --git a/tests/integration/src/test/resources/pulsar-io-sources.xml b/tests/integration/src/test/resources/pulsar-semantics.xml
similarity index 77%
copy from tests/integration/src/test/resources/pulsar-io-sources.xml
copy to tests/integration/src/test/resources/pulsar-semantics.xml
index a5afc5d..5b5402a 100644
--- a/tests/integration/src/test/resources/pulsar-io-sources.xml
+++ b/tests/integration/src/test/resources/pulsar-semantics.xml
@@ -19,10 +19,10 @@
-->
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd" >
-<suite name="Pulsar IO Sources Integration Tests" verbose="2" annotations="JDK">
- <test name="pulsar-function-process-test-suite" preserve-order="true" >
+<suite name="Pulsar Semantics Integration Tests" verbose="2" annotations="JDK">
+ <test name="pulsar-semantics-test-suite" preserve-order="true" >
<classes>
- <class name="org.apache.pulsar.tests.integration.io.sources.debezium.PulsarDebeziumSourcesTest" />
+ <class name="org.apache.pulsar.tests.integration.semantics.SemanticsTest" />
</classes>
</test>
-</suite>
\ No newline at end of file
+</suite>
diff --git a/tests/integration/src/test/resources/pulsar-io-sources.xml b/tests/integration/src/test/resources/pulsar-upgrade.xml
similarity index 77%
copy from tests/integration/src/test/resources/pulsar-io-sources.xml
copy to tests/integration/src/test/resources/pulsar-upgrade.xml
index a5afc5d..a52db54 100644
--- a/tests/integration/src/test/resources/pulsar-io-sources.xml
+++ b/tests/integration/src/test/resources/pulsar-upgrade.xml
@@ -19,10 +19,10 @@
-->
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd" >
-<suite name="Pulsar IO Sources Integration Tests" verbose="2" annotations="JDK">
- <test name="pulsar-function-process-test-suite" preserve-order="true" >
+<suite name="Pulsar Upgrade Integration Tests" verbose="2" annotations="JDK">
+ <test name="pulsar-upgrade-test-suite" preserve-order="true" >
<classes>
- <class name="org.apache.pulsar.tests.integration.io.sources.debezium.PulsarDebeziumSourcesTest" />
+ <class name="org.apache.pulsar.tests.integration.upgrade.PulsarZKDowngradeTest" />
</classes>
</test>
-</suite>
\ No newline at end of file
+</suite>
diff --git a/tests/integration/src/test/resources/pulsar.xml b/tests/integration/src/test/resources/pulsar.xml
index 7993d0c..5382d9b 100644
--- a/tests/integration/src/test/resources/pulsar.xml
+++ b/tests/integration/src/test/resources/pulsar.xml
@@ -36,5 +36,8 @@
<suite-file path="./pulsar-io-sinks.xml" />
<suite-file path="./pulsar-io-sources.xml" />
<suite-file path="./pulsar-io-ora-source.xml" />
+ <suite-file path="./pulsar-python.xml" />
+ <suite-file path="./pulsar-semantics.xml" />
+ <suite-file path="./pulsar-upgrade.xml" />
</suite-files>
</suite>