Skip to content

Enable feature specific unit tests #2360

@parthchandra

Description

@parthchandra

What is the problem the feature request solves?

We have certain features which are hidden behind feature flags (e.g. hdfs). Any unit tests written in the JVM side to test these features fails if the native side is built without the feature flag.

Describe the potential solution

We could provide a function in native that can be called via JNI that returns true if a feature is enabled. Tests can call this function to see if the feature they are testing is enabled in the build

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions