Skip to content

Commit

Permalink
test: reduce JMeterTest > runSerialTest test noise
Browse files Browse the repository at this point in the history
PropertyDescriptor requires arguments for instantiation, so it can't easily
be tested for serializability.
  • Loading branch information
vlsi committed Jan 1, 2024
1 parent ff63439 commit 34a2785
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,11 @@ public static Collection<Object> getObjects(Class<?> extendsClass) throws Throwa
// 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.
Expand Down

0 comments on commit 34a2785

Please sign in to comment.