Skip to content

Commit 34a2785

Browse files
committed
test: reduce JMeterTest > runSerialTest test noise
PropertyDescriptor requires arguments for instantiation, so it can't easily be tested for serializability.
1 parent ff63439 commit 34a2785

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/dist-check/src/test/java/org/apache/jmeter/junit/JMeterTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,11 @@ public static Collection<Object> getObjects(Class<?> extendsClass) throws Throwa
643643
// TODO: Cannot start. travis-job-e984b3d5-f93f-4b0f-b6c0-50988a5ece9d is a loopback address.
644644
continue;
645645
}
646+
if (className.startsWith("org.apache.jmeter.testelement.schema.") &&
647+
className.endsWith("PropertyDescriptor")) {
648+
// PropertyDescriptors do not have no-arg constructor
649+
continue;
650+
}
646651
try {
647652
// Construct classes in the AWT thread, as we may have found classes, that
648653
// assume to be constructed in the AWT thread.

0 commit comments

Comments
 (0)