Skip to content

test(bigtable): set up accelerator system test environment and harness - #18787

Merged
mutianf merged 4 commits into
bigtable-accelfrom
accel12
Nov 13, 2026
Merged

mutianf merged 4 commits into
bigtable-accelfrom
accel12

Conversation

@mutianf

@mutianf mutianf commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Set up the shared Cloud Bigtable accelerator system-test environment (conftest.py, pytest.ini, _harness.py, _base_async.py, _base_autogen.py), including BIGTABLE_TEST_APP_PROFILE auto-injection, BIGTABLE_ACCELERATOR_BIN binary override, and ExpectedState / ProcessIntrospector helpers.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request introduces integration and concurrency tests for the Google Cloud Bigtable accelerator, including pytest configurations, base test classes, a state-tracking test harness, and multi-process/multi-threaded concurrency tests. The review feedback suggests several key improvements: cleaning up empty row dictionaries from the state model in _harness.py to prevent memory retention, switching the multiprocessing start method from fork to spawn in test_concurrency_async.py to avoid gRPC-related deadlocks, and adopting a shared monotonic deadline pattern when joining background processes during cleanup to prevent excessive blocking.

Base automatically changed from accel11 to bigtable-accel October 26, 2026 18:00
@mutianf mutianf changed the title test(bigtable): add accelerator shared test harness and concurrency system tests test(bigtable): set up accelerator system test environment and harness Nov 13, 2026
- Increase DELETE_AFTER_WRITE_GUARD_OPS from 128 to 512.
- Remove empty row dictionaries from ExpectedState._rows on delete_range_from_column and delete_from_family.
- Generate multi-CF, multi-column mutation batches in RandomOps.build_mutation.
@mutianf
mutianf merged commit 7949f8a into bigtable-accel Nov 13, 2026
16 checks passed
@mutianf
mutianf deleted the accel12 branch November 13, 2026 19:45
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.

1 participant