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

Nondex :debug failed to run on parameterized unit test #163

Open
LeoYimingLi opened this issue Oct 7, 2021 · 3 comments
Open

Nondex :debug failed to run on parameterized unit test #163

LeoYimingLi opened this issue Oct 7, 2021 · 3 comments

Comments

@LeoYimingLi
Copy link

Reproducible steps:

  • 1.Environment setup: Maven 3.6.0 and Java 1.8.0_292
  • 2.clone the repo
git clone https://github.com/OpenHFT/Chronicle-Wire 
cd Chronicle-Wire
  • 3.run with Nondex tool
mvn install -DskipTests
mvn test -Dtest=net.openhft.chronicle.wire.bytesmarshallable.BytesMarshallableTest#primitiveDto[0]
mvn edu.illinois:nondex-maven-plugin:1.1.2:nondex -Dtest=net.openhft.chronicle.wire.bytesmarshallable.BytesMarshallableTest#primitiveDto[0]
mvn edu.illinois:nondex-maven-plugin:1.1.2:debug -Dtest=net.openhft.chronicle.wire.bytesmarshallable.BytesMarshallableTest#primitiveDto[0]

we find mvn test -Dtest=...#primitiveDto[0] and mvn ...:nondex -Dtest=...#primitiveDto[0] can work normally, but mvn ...:debug -Dtest=...#primitiveDto[0] can't run the test and no debug file is generated.
sreenshot of :debug
image

@Anjiang-Wei
Copy link

To make this fully reproducible, I want to confirm that the SHA for OpenHFT/Chronicle-Wire is 53845b01a9c03d944c8428c6b1f9b165010f6356.

Also, by saying no debug file is generated, do you mean that cat /home/yiming22/github.com/TestingResearchIllinois/final_project/Chronicle-Wire/.nondex/+vzmUJi2I... (please copy whatever prints after AT: here) returns nothing? I guess the file may still exists, but there is nothing in it.

@LeoYimingLi
Copy link
Author

LeoYimingLi commented Oct 7, 2021

1.oh I forgot to attach the SHA: b5e686af677c32dac5f867af2a81fd285c014bb7.

2.actually there seems to be no debug file
No such file or directory
image

@Anjiang-Wei
Copy link

Thanks for reporting this issue! I also ran into such kind of issues occasionally. I hope that this valid issue will be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants