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

Try to solve TC 5.22 errors #4163

Merged
merged 2 commits into from
Jul 31, 2024
Merged

Try to solve TC 5.22 errors #4163

merged 2 commits into from
Jul 31, 2024

Conversation

vga91
Copy link
Collaborator

@vga91 vga91 commented Jul 31, 2024

Try to solve TC 5.22 errors:

  • BindException: Address already in use
    Changed 1080 with PortFactory.findFreePort() in WatsonTest and LoadCsvTest to avoid the error.

  • queryReadOnlyVectorsWithMapping FAILED, Caused by: java.net.SocketTimeoutException: Read timed out
    Tried several time but not replicated, it could be a sporadic flaky error


  • mock server error:
    See here.
    Copied assertion to LoadS3Test, since otherwise there is the following error,
    as the org/mockserver/socket/PortFactory module is not included in extended-it, that is where the LoadS3Test is located
apoc.s3.LoadS3Test > testLoadCsvS3 FAILED
    java.lang.NoClassDefFoundError: org/mockserver/socket/PortFactory
        at apoc.load.LoadCsvTest.<clinit>(LoadCsvTest.java:49)
        at apoc.s3.LoadS3Test.lambda$testLoadCsvS3$0(LoadS3Test.java:55)
        at apoc.util.TestUtil.testResult(TestUtil.java:189)
        at apoc.s3.LoadS3Test.testLoadCsvS3(LoadS3Test.java:54)

        Caused by:
        java.lang.ClassNotFoundException: org.mockserver.socket.PortFactory
            at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
            at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
            at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
            ... 4 more

@vga91 vga91 merged commit 67b9d75 into 5.22 Jul 31, 2024
5 checks passed
@vga91 vga91 deleted the solve-tc-errors-5.22 branch July 31, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant