Skip to content

Convert from DRUID_INTEGRATION_TEST_INDEXER to USE_INDEXER#13684

Merged
paul-rogers merged 1 commit intoapache:masterfrom
paul-rogers:230117-indexer
Jan 18, 2023
Merged

Convert from DRUID_INTEGRATION_TEST_INDEXER to USE_INDEXER#13684
paul-rogers merged 1 commit intoapache:masterfrom
paul-rogers:230117-indexer

Conversation

@paul-rogers
Copy link
Copy Markdown
Contributor

The old ITs use DRUID_INTEGRATION_TEST_INDEXER. The new ones use the USE_INDEXER env var passed in from the build environment.

The old ITs set an environment variable USE_INDEXER in travis.yml, which Maven then converts to DRUID_INTEGRATION_TEST_INDEXER. The previous "indexer" PR used the DRUID_INTEGRATION_TEST_INDEXER to control the indexer settings in the new ITs.

However, it turns out that the new ITs streamline the process: they just use USE_INDEXER passed in from travis.yml without the (unnecessary) translation step. This PR, rips out the use of DRUID_INTEGRATION_TEST_INDEXER in the new IT scripts and replaces that use with USE_INDEXER so we get a simple, straight pass-through from Travis (or GHA) to the script using the shell variables without the need of mucking about in Maven.


This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.

The old ITs use DRUID_INTEGRATION_TEST_INDEXER. The new ones use the
USE_INDEXER env var passed in from the build environment.
@paul-rogers paul-rogers merged commit fa493f1 into apache:master Jan 18, 2023
@clintropolis clintropolis added this to the 26.0 milestone Apr 10, 2023
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.

3 participants