Skip to content

Fix UDF crash when JaCoCo coverage is enabled on Lima #90

Description

@kaklakariada

Problem

Integration tests that use Lima crash in the UDF when JaCoCo test coverage is enabled.

Reproduction

  1. Run the test environment using Lima.

  2. Execute an integration-test build with coverage enabled (the default):

    mvn verify

  3. Observe that the UDF crashes.

Current workaround

Disable coverage explicitly:

mvn verify -Dtest.coverage=false

Expected behavior

UDF debugging and integration tests should work on Lima with JaCoCo coverage enabled, without a UDF crash.

Precondition

Implement exasol/exasol-testcontainers#297 first. It adds the reverse TCP port-forwarding API needed to make host-side JaCoCo, UDF logging, and debugging services reachable from UDFs on Lima and standard Docker.

Notes

The workaround is needed by athena-virtual-schema integration tests that use udf-debugging-java.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnwanted / harmful behavior

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions