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

JUnit run config overridden for parameterized test with single param #3075

Closed
mikelhamer opened this issue Feb 28, 2022 · 1 comment
Closed
Labels
bug We can reproduce the issue and confirmed it is a bug.

Comments

@mikelhamer
Copy link

mikelhamer commented Feb 28, 2022

Describe the bug
When running a JUnit parameterized test from the gutter icon in IntelliJ, the AWS Toolkit run configuration overrides the run options and prevents running the test this way.
This is extremely similar to to #1011, but interestingly when I add a second param, the issue goes away.

To reproduce

  1. Create a JUnit test with a parameter
  2. Click the run icon in the gutter
  3. Click run

Expected behavior
This shouldn't happen

Screenshots
(not dependent on @ParameterizedTest or @ ValueSource annotations to recreate)
image

image

Your Environment

  • OS: macOS 12.1
  • JetBrains product: IntelliJ
  • JetBrains product version: 2021.3.1
  • AWS Toolkit version: 1.38-213
  • SAM CLI version: n/a
  • JVM/Python version: 11
@mikelhamer mikelhamer added the bug We can reproduce the issue and confirmed it is a bug. label Feb 28, 2022
@rli
Copy link
Contributor

rli commented Jun 1, 2022

Released in 1.44

@rli rli closed this as completed Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug We can reproduce the issue and confirmed it is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants