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

I/O errors when running unit tests using Gradlew in IntelliJ for Windows (and the workaround) #659

Closed
jinyao-lee opened this issue May 16, 2019 · 3 comments

Comments

@jinyao-lee
Copy link
Contributor

jinyao-lee commented May 16, 2019

A number of test cases failed (with all of them being I/O related exceptions) when running gradlew test using IntelliJ for Windows 10. I do not know the exact cause of this issue; it could be permission related issue or that IntelliJ's working directory isn't at RepoSense root folder.

However, one workaround for this is: -

  1. Launch a terminal (Powershell, CMD, ...)
  2. Change directory to the root folder of the RepoSense project
  3. Type command .\gradlew.bat test systemtest and press ENTER

I think it would be good if we add this into the developer guide.

@jinyao-lee jinyao-lee changed the title I/O errors when running unit tests using Gradlew in Intellij (Windows 10) I/O errors when running unit tests using Gradlew in IntelliJ for Windows (and the workaround) May 16, 2019
@fzdy1914

This comment has been minimized.

@chan-j-d
Copy link
Contributor

@dcshzj possibly related to #1134? I think it is safe to close this as well.

@dcshzj
Copy link
Member

dcshzj commented Feb 14, 2022

Yup, thanks @chan-j-d!

@dcshzj dcshzj closed this as completed Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants