Tests don't want to run after a couple of tries
Mostly I start running Apex tests by right clicking on the class so I can just run all of the tests in that class. And that works fine - for a few tries. After a few tries, the 'play' button greys out and there seems to be no way to reactivate it without restarting IJ.
Comments (17)
-
repo owner -
reporter You are correct - that is what is happening. Here are the details:
IntelliJ IDEA 2017.1.2 Build #IU-171.4249.39, built on April 25, 2017 You have a perpetual fallback license for this version Subscription is active until March 30, 2018 JRE: 1.8.0_112-release-736-b16 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Mac OS X 10.12.4 Illuminated Cloud 1.7.9.2-idea14
-
reporter Wow, I didn't realize it would rip out the line breaks...that is kinda brutal to read...
-
repo owner - changed version to 1.7.9.3
-
assigned issue to
- changed component to Unit Test Integration
-
reporter Of note, I haven't seen this issue in a few days now - perhaps it was just something weird going on with my computer? If it happens again, I will keep you apprised.
-
repo owner Thanks for letting me know. I'm just moving some stuff into a next release with a focus on bug fixes. I'll take a quick look but if I can't reproduce it either I may resolve it and you can reopen it if you do manage to reproduce it.
-
reporter Fine by me!
-
repo owner - changed status to resolved
Yeah, I wasn't able to reproduce this. Please reopen if you see it happen again, ideally with your
idea.log
at the time that it was happening. -
reporter - attached idea.log
Ah-HA! I got this issue again this evening. Attached the log for your reference.
-
reporter And as I've found, if I didn't just want to restart IDEA every time, I can just run with coverage, which I probably should have been doing the whole time.
-
repo owner - changed status to open
Great! That will certainly help. Moving back to Open state and will look at provided log in the next day or two. Thanks!
-
repo owner Derek, do you happen to have the logs from just before the one you attached? This one comes in after the issue. Feel free to zip up that entire directory and email it to me if you'd like. Based on what you've sent me I should be able to find the right place. Thanks again!
-
reporter Unfortunately, I do not have those logs anymore as they've been overwritten, but next time this happens, I will send those to you.
-
repo owner Sounds good. This will remain open until we get the info we need and I can smack it down properly.
-
reporter This hasn't been a thing for at least a month, so I'll close this ticket now, to be re-opened if it's a thing again.
-
reporter - changed status to resolved
-
repo owner - changed component to Apex Unit Testing
- Log in to comment
That's definitely strange, Derek. So just to clarify, you can get this to happen just by starting a test suite via context menu then keep clicking the green play button and eventually it stays disabled? Is that correct? What version of IntelliJ IDEA are you running? Just wondering if perhaps this is due to one of the recent core IDE updates (though I'm pretty sure it's my bug!).