intellij-platform-gradle-plugin icon indicating copy to clipboard operation
intellij-platform-gradle-plugin copied to clipboard

User arguments overrided for PerformanceTestArgumentProvider by PerformanceTestArgumentProvider

Open Salomon88 opened this issue 2 years ago • 0 comments

What happened?

As I discovered after changes in RunIdePerformanceTestTask when you are using jvmArgumentProviders.add(PerformanceTestArgumentProvider... arguments which I passed in PerformanceTestArgumentProvider will be overrided by other providers which you pass in super class RunIdeBase - IntelliJPlatformArgumentProvider

Relevant log output or stack trace

No response

Steps to reproduce

  1. Define task properties in yours gradle file
    runIdePerformanceTest {
        testDataDir.set("/Users/custom/path")
        artifactsDir.set("/Users/custom/path")
    }
  1. Launch runIdePerformanceTest

You will get an exception Execution failed for task ':runIdePerformanceTest'. org.gradle.api.UncheckedIOException: java.nio.file.NoSuchFileException: /Users/custom/pathidea.log

Gradle IntelliJ Plugin version

1.15.0

Gradle version

Gradle 8.2

Operating System

None

Link to build, i.e. failing GitHub Action job

No response

Salomon88 avatar Oct 27 '23 10:10 Salomon88