OpenSearch/plugins/discovery-azure-classic/src
Jason Tedor aad1b3a2a0
Fix version parsing in various tests (#42871)
This commit fixes the version parsing in various tests. The issue here is that
the parsing was relying on java.version. However, java.version can contain
additional characters such as -ea for early access builds. See JEP 233:

Name                            Syntax
------------------------------  --------------
java.version                    $VNUM(\-$PRE)?
java.runtime.version            $VSTR
java.vm.version                 $VSTR
java.specification.version      $VNUM
java.vm.specification.version   $VNUM

Instead, we want java.specification.version.
2019-06-04 18:22:20 -04:00
..
main Reject port ranges in `discovery.seed_hosts` (#41905) 2019-05-08 08:34:32 +01:00
test Fix version parsing in various tests (#42871) 2019-06-04 18:22:20 -04:00