private static Predicate<VmConfiguration> isUpgrade() {
    return hasGeodeVersion(TestVersions.lessThan(TestVersion.current())).or(
        hasJavaVersion(JavaVersions.lessThan(JavaVersions.current())));
  }
Returns a predicate that applies {@code predicate} to a configuration's Java version.

@param predicate a Java version predicate
@return a predicate that applies {@code predicate} to a configuration's Java version
geode-junit/src/main/java/org/apache/geode/test/version/VmConfigurations.java