From c0edf8e82c31fb3e3d665138dab96d3a62d7d050 Mon Sep 17 00:00:00 2001 From: Mateusz Gajewski Date: Mon, 14 Sep 2020 13:36:20 +0200 Subject: [PATCH] Allow case insensitive enum values in launcher --- .../io/prestosql/tests/product/launcher/cli/Launcher.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/presto-product-tests-launcher/src/main/java/io/prestosql/tests/product/launcher/cli/Launcher.java b/presto-product-tests-launcher/src/main/java/io/prestosql/tests/product/launcher/cli/Launcher.java index 8d3892446e1f..f4f7961d21d8 100644 --- a/presto-product-tests-launcher/src/main/java/io/prestosql/tests/product/launcher/cli/Launcher.java +++ b/presto-product-tests-launcher/src/main/java/io/prestosql/tests/product/launcher/cli/Launcher.java @@ -63,7 +63,9 @@ public static void main(String[] args) public static void run(Launcher launcher, String[] args) { IFactory factory = createFactory(launcher.getExtensions()); - System.exit(new CommandLine(launcher, factory).setResourceBundle(new LauncherBundle()).execute(args)); + System.exit(new CommandLine(launcher, factory) + .setCaseInsensitiveEnumValuesAllowed(true) + .setResourceBundle(new LauncherBundle()).execute(args)); } private static IFactory createFactory(Extensions extensions)