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

Mac automated UI test failure: SocketTimeoutException, restart testing on new environment #1124

Closed
turkeylurkey opened this issue Nov 19, 2024 · 0 comments · Fixed by #1135
Closed
Assignees
Labels
automated tests bug Something isn't working
Milestone

Comments

@turkeylurkey
Copy link
Member

turkeylurkey commented Nov 19, 2024

The UI robot is trying to type characters into the editor but the editor process is not confirming the characters.

GradleSingleModJakartaLSTest > testJakartaQuickFixInJavaPart() FAILED
    java.net.SocketTimeoutException: Read timed out
        at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:288)
        at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:314)
        at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355)
        at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:808)
        at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
        at okio.InputStreamSource.read(JvmOkio.kt:94)
        at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:125)
        at okio.RealBufferedSource.indexOf(RealBufferedSource.kt:427)
        at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:320)
        at okhttp3.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.java:242)
        ...

Start testing on the IDE after restart.

The challenge is that when you restart the IDE it reloads the project that was in use when the IDE last crashed. We need to close that project and get back to the Welcome screen so that the test can load the project that is required (typically the project for the first test since we are starting testing over from the beginning).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated tests bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

1 participant