Build config forgets checked tests to run in some cases

Issue #321 resolved
Mike Gedelman created an issue

Symptom: System sometimes doesn't seem to remember that I've checked a certain test in my build config, if I don't select very many. I check it and do Ok, and reopen the config without running, no tests are checked.

Reproduce:

  1. Create a new project, retrieve all metadata.
  2. Build > Edit Configurations...
  3. Create a new configuration, check some tests, usually less tests will cause it to happen. If I pick only the first test, it always forgets it if it's a new config. If I mess with it and check random stuff, eventually it will remember the first one, but will sporadically will still forget others. Kind of a weird bug.

Persists after restart. Recreated the project again and it's still doing it. Rebuilt symbol table, still doing it. I set to minor because you can just select more tests as a workaround.

It was doing it in Version -.4, I just saw -.5 is out and upgraded but I'm still seeing it.

Let me know if I can provide more info. Thanks!

I don't have a dump because no logs are created when doing the steps above... but here's my system info (pulled from when I ran the test and it failed with no unit tests elected).

IntelliJ IDEA 2016.1.2  Build #IC-145.972.3 
JDK: 1.8.0_76-release 
VM: OpenJDK 64-Bit Server VM 
Vendor: JetBrains s.r.o 
OS: Linux 

Comments (6)

  1. Scott Wells repo owner

    Thanks for the report. I'll see if I can reproduce it and get back to you if I'm unable to do so.

  2. Scott Wells repo owner

    Mike, is this still happening to you? I've tried to reproduce it but have so far been unsuccessful. If it's still happening to you, any chance you could create a small standalone test class (doesn't even need to do anything) where it happens and attach it here?

  3. Scott Wells repo owner
    • edited description
    • changed status to resolved

    I'm pretty sure this was fixed quite a bit back. Feel free to reopen if it's still reproducible, ideally with easy steps to reproduce it.

  4. Log in to comment