-
-
Notifications
You must be signed in to change notification settings - Fork 636
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
Experimental test runner failure #3744
Comments
We're having the same problem for one of our parametrised tests: Pants version: 1.4.0.dev24
I can comment out the parameter below and the tests all pass:
All of the tests pass in Intellij and with |
@jebbench can you give a bit more context on the |
I'll try and put together a small project that replicates this; I'm not sure how easy it will be to do though as we're doing things very similarly in other tests that are working fine. |
I think I'm going to struggle to replicate this - I've torn out the logic of the test and replace the DB with a map and it works as expected. To give some context we're using https://github.com/Pragmatists/JUnitParams to create parametrised tests that test our DAL writes/reads to Mongo as expected (i.e. test our queries give back the results we expect).
The test that fails:
The Parameters we pass:
|
Thanks @jebbench - that's much better than nothing. I'll take a poke at replicating this over the next few days. |
Gave this some spins, no repro yet. Work here: master...jsirois:issues/3744 |
So this is only an issue if the test passes - if it fails then Pants behaves as expected. Updating my parameter to:
causes the test to fail as expected. |
Just caught the same NullPointerException.
pants_version: 1.5.0 I've narrowed down files to reproduce this issue |
I don't think this is relevant anymore. Closing. |
Two of our test suites are failing with errors like this with the experimental runner enabled. in 1.1.0-rc9
The text was updated successfully, but these errors were encountered: