This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 34a2785748e9e0b14702595e8682c387869deda3
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Mon Jan 1 17:40:58 2024 +0300

    test: reduce JMeterTest > runSerialTest test noise
    
    PropertyDescriptor requires arguments for instantiation, so it can't easily
    be tested for serializability.
---
 src/dist-check/src/test/java/org/apache/jmeter/junit/JMeterTest.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git 
a/src/dist-check/src/test/java/org/apache/jmeter/junit/JMeterTest.java 
b/src/dist-check/src/test/java/org/apache/jmeter/junit/JMeterTest.java
index d9cbe40b42..5fd25546bb 100644
--- a/src/dist-check/src/test/java/org/apache/jmeter/junit/JMeterTest.java
+++ b/src/dist-check/src/test/java/org/apache/jmeter/junit/JMeterTest.java
@@ -643,6 +643,11 @@ public class JMeterTest extends JMeterTestCase {
                 // TODO: Cannot start. 
travis-job-e984b3d5-f93f-4b0f-b6c0-50988a5ece9d is a loopback address.
                 continue;
             }
+            if (className.startsWith("org.apache.jmeter.testelement.schema.") 
&&
+                    className.endsWith("PropertyDescriptor")) {
+                // PropertyDescriptors do not have no-arg constructor
+                continue;
+            }
             try {
                 // Construct classes in the AWT thread, as we may have found 
classes, that
                 // assume to be constructed in the AWT thread.

Reply via email to