File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
build-tools/src/main/java/org/elasticsearch/gradle/test Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 2020public class SystemPropertyCommandLineArgumentProvider implements CommandLineArgumentProvider {
2121 private final Map <String , Object > systemProperties = new LinkedHashMap <>();
2222
23- public void systemProperty (String key , Provider <Object > value ) {
24- systemProperties .put (key , (Supplier <String >) () -> String .valueOf (value .get ()));
25- }
26-
2723 public void systemProperty (String key , Supplier <String > value ) {
2824 systemProperties .put (key , value );
2925 }
Original file line number Diff line number Diff line change @@ -168,11 +168,11 @@ if (OS.current() == OS.WINDOWS) {
168168
169169 tasks. named(" javaRestTest" ). configure {
170170 dependsOn fixture
171- systemProperty " tests.fromOld" , " true"
172- /* Use a closure on the string to delay evaluation until right before we
173- * run the integration tests so that we can be sure that the file is
174- * ready. */
175- nonInputProperties. systemProperty " es${ version} .port" , fixture. map(f-> f. addressAndPort)
171+ systemProperty " tests.fromOld" , " true"
172+ /* Use a closure on the string to delay evaluation until right before we
173+ * run the integration tests so that we can be sure that the file is
174+ * ready. */
175+ nonInputProperties. systemProperty " es${ version} .port" , fixture. map(f-> f. addressAndPort)
176176 }
177177 }
178178}
You can’t perform that action at this time.
0 commit comments