Skip to content

Test: Pass the OC option in the query HTTP test only when OC is built - #647

Merged
heifner merged 1 commit into
masterfrom
fix/query-http-test-oc-option
Sep 26, 2026
Merged

heifner merged 1 commit into
masterfrom
fix/query-http-test-oc-option

Conversation

@heifner

@heifner heifner commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

test_query_engine_plugin_http passed --sys-vm-oc-enable none to every application it starts. chain_plugin registers that option only when the OC runtime is compiled in (SYSIO_SYS_VM_OC_RUNTIME_ENABLED), so on macOS arm64 every init fails with Unknown option '--sys-vm-oc-enable', and the macOS nightly has failed on this test since the query engine landed. macOS PR CI skips nonparallelizable tests, which is why it never showed up there.

The option is now appended only when the OC runtime is built, the same guard tests/test_read_only_trx.cpp uses.

chain_plugin registers sys-vm-oc-enable only when the OC runtime is
compiled in, but the HTTP test passed --sys-vm-oc-enable none to every
application it starts. On macOS arm64, which has no OC runtime, each
init failed with "Unknown option" and every test case failed. Only the
macOS nightly runs nonparallelizable tests, so PR CI never showed it.

Append the option only under SYSIO_SYS_VM_OC_RUNTIME_ENABLED, as
test_read_only_trx does.
@heifner
heifner requested review from a team and huangminghuang September 26, 2026 16:33

@huangminghuang huangminghuang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the current diff and relevant initialization/build context. No actionable findings. The guard matches chain_plugin's option registration, and the test inherits the runtime macro through sysio_chain, preserving the existing arguments on OC-enabled builds.

Validation: git diff --check passed. The integration suite was not run locally; Apple Silicon PR CI excludes this nonparallelizable test.

@heifner
heifner merged commit 9c031c9 into master Sep 26, 2026
13 checks passed
@heifner
heifner deleted the fix/query-http-test-oc-option branch September 26, 2026 20:16
@heifner
heifner restored the fix/query-http-test-oc-option branch September 28, 2026 16:32
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.

2 participants