Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User arguments overrided for PerformanceTestArgumentProvider by PerformanceTestArgumentProvider #1483

Open
Salomon88 opened this issue Oct 27, 2023 · 0 comments
Assignees
Labels

Comments

@Salomon88
Copy link
Contributor

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 Salomon88 added the bug label Oct 27, 2023
@hsz hsz self-assigned this Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants