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

Test events were not received #33

Closed
dlsniper opened this issue Nov 26, 2015 · 10 comments
Closed

Test events were not received #33

dlsniper opened this issue Nov 26, 2015 · 10 comments
Assignees

Comments

@dlsniper
Copy link

Hi, from time to time the Gradle doesn't seem to want to run the tests. Restarting IDEA seems to do the trick and tests are running again. I've checked the logs and nothing there and I'm not sure if the screenshot will help either (I'm running the Go plugin test suite, to be sure there's no confusion).
snapshot146

Please let me know if I can help out with anything else.

@zolotov zolotov self-assigned this Nov 26, 2015
@zolotov
Copy link
Member

zolotov commented Nov 27, 2015

This is expected behaviour. Since you haven't changed any class test task is up-to-date. You can invoke cleanTest before to avoid this.

@zolotov zolotov closed this as completed Nov 27, 2015
@jtonic
Copy link

jtonic commented Oct 29, 2017

Hi,
I encountered the same issue with junit 5 kotlin project.
And for me tests were changed but Idea prompted me with the same message.
Any clue on this?

@jtonic
Copy link

jtonic commented Oct 29, 2017

Hi,

I also noticed those:

  1. If I ran the test with the junit run configuration suggested by Idea in the context many all is fine.
  2. but if I ran the gradle suggested run configuration I ran into this issue no matter test files has been changed.

@jtonic
Copy link

jtonic commented Oct 29, 2017

I forgot to mention that I used the latest EAP version of idea which is Public Review:

IntelliJ IDEA 2017.3 EAP (Ultimate Edition)
Build #IU-173.3415.22, built on October 25, 2017
IntelliJ IDEA EAP User
Expiration date: November 24, 2017
JRE: 1.8.0_152-release-1024-b6 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13

I think this issue has to be reopen for idea 2017.3, junit 5, gradle, kotlin.

@zolotov
Copy link
Member

zolotov commented Oct 29, 2017

@jtonic this tracker has nothing to do with IDEA. Please use https://youtrack.jetbrains.com.

Also, probably the issue also has nothing to do with IDEA and I recommend you to check whether Gradle task works as expected in a terminal first.

@jtonic
Copy link

jtonic commented Oct 29, 2017

@Zoltov.

Thank you for your reply.
I am going to register this (if it isn't already) in youtrack.
With the ./gradlew command everything is fine.

Kind regards.

@JamesXNelson
Copy link

Seeing strange behavior along the same lines over here...

The same code on a different machine runs np every time.
We even altered the generated test run config to run clean and cleanTest before running.

The gradle daemon logs show the test being run, along w/ a bunch of <ijLog> entries, clearly showing all the tests being run. However, the IDE just spins until it's over, no output, and then claims "test events not received".

<ijLog><event type='beforeSuite'><ijLogEol/>
  <test id='2.1' parentId=':Blah:test'><ijLogEol/>
    <descriptor name='Gradle Test Executor 2' className='' /><ijLogEol/>
  </test><ijLogEol/>
</event></ijLog>

@JamesXNelson
Copy link

Should I open a new issue (and should it be in this tracker?)

@zolotov
Copy link
Member

zolotov commented Oct 28, 2019

@JamesXNelson this project is about gradle-intellij-plugin, if you don't use it, it's a wrong tracker. If you use, I need your build.gradle and all configuration related to gradle-intellij-plugin.

@JamesXNelson
Copy link

ok, this is indeed the wrong tracker. thanks, and sorry for the noise.

mfilippov pushed a commit to mfilippov/gradle-intellij-plugin that referenced this issue Mar 29, 2022
Replace deprecated dependencies configuration
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

4 participants