Skip to content

Ignifyr Test Extension - #302

Merged
sinaci merged 16 commits into
ignifyr-rename-wholefrom
ignifyr-extensive-testing
Aug 4, 2026
Merged

Ignifyr Test Extension#302
sinaci merged 16 commits into
ignifyr-rename-wholefrom
ignifyr-extensive-testing

Conversation

@KeremHmd

Copy link
Copy Markdown
Contributor
  • New E2E tests are added to test new behaviors built around enterprise/community separation and Kafka/REDcap streaming.
  • A test-flow suite is built to provide options and configurations on how to run different kinds of tests/demo builds of Ignifyr and related tools. All options are documented to only allow the desired tests to be run during a development or a release build.

@KeremHmd
KeremHmd requested a review from Okanmercan99 July 29, 2026 12:06
@KeremHmd KeremHmd self-assigned this Jul 29, 2026
Comment thread test-flow/README.md Outdated
Comment thread test-flow/check-editions.sh Outdated
Comment thread test-flow/run-automated-tests.sh Outdated
Comment thread test-flow/check-editions.sh
Comment thread test-flow/check-editions.sh Outdated
KeremHmd and others added 13 commits August 3, 2026 09:58
…+ test gaps

- engine: registerBatchJob attached handleCompletedBatchJob with onComplete, which only
  schedules it, so a caller awaiting the raw job future raced the archiver. The one-shot
  batch CLI calls System.exit(0) right after that await, so with archiveMode archive/delete
  the processed inputs could be left in place. registerBatchJob now returns a Future chained
  with andThen, and MappingJobLauncher hands that back as MappingJobLaunch.Batch, so awaiting
  it means archiving is done.

- test-flow: the ~6 MB jar listings made `echo "$VAR" | grep -q` invert under pipefail — grep
  exits at the first match and closes the pipe, echo dies of SIGPIPE, and the successful match
  evaluates as false. The enumeration guard therefore fired against a jar that `jar tf` lists
  fine and the whole jar-content section was silently skipped (passed: 19 instead of 41). Had
  it run, a marker actually present in the community jar would also have been reported as
  "excludes", so a real enterprise leak would have passed. Matched with bash substring tests.

- build: Spark 3.5 reaches into JDK internals (StorageUtils -> sun.nio.ch.DirectBuffer), which
  JDK 17+ denies by default. spark-submit adds the module opens via JavaModuleOptions, but these
  suites run Spark embedded in the JVM scalatest-maven-plugin forks, so nothing adds them and
  every Spark-backed suite aborts. Added as argLine; harmless on the JDK 11 target thanks to
  -XX:+IgnoreUnrecognizedVMOptions.
The `pull_request` trigger was filtered to base branch main, so no CI ran on PRs opened
against the integration branches we actually target — including the current one. Dropped
the filter.

The long tier is now pull-request-only (plus workflow_dispatch): a push to main would just
repeat the tier its own PR already ran. Local runs stay opt-in via ${skipITs}, so a plain
`mvn install`/`verify` is short and Docker-free and `mvn verify -DskipITs=false` opts in.
@sinaci
sinaci merged commit 4aaa127 into ignifyr-rename-whole Aug 4, 2026
3 checks passed
@sinaci
sinaci deleted the ignifyr-extensive-testing branch August 4, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants