Skip to content

Add index property type tests for hidden#676

Open
vic-tsang wants to merge 1 commit into
documentdb:mainfrom
vic-tsang:indexes/type/hidden
Open

Add index property type tests for hidden#676
vic-tsang wants to merge 1 commit into
documentdb:mainfrom
vic-tsang:indexes/type/hidden

Conversation

@vic-tsang

@vic-tsang vic-tsang commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

This PR contains:

  • Add index property type tests for hidden

Ref:

Signed-off-by: Victor [C] Tsang <vitsangp@amazon.com>
@vic-tsang vic-tsang requested a review from a team as a code owner July 10, 2026 15:50
@vic-tsang vic-tsang changed the title Add indexes types tests for hidden Add index property type tests for hidden Jul 10, 2026
@documentdb-triage-tool documentdb-triage-tool Bot added compatibility test Compatibility test related enhancement New feature or request labels Jul 10, 2026
@documentdb-triage-tool

Copy link
Copy Markdown

🤖 Auto-triaged by documentdb-triage-tool.

Applied: compatibility test, enhancement
Project fields suggested: Component test-coverage · Priority P3 · Effort XL · Status Needs Review
Confidence: 0.80 (mixed)

Reasoning

component from path globs (test-coverage); effort from diff stats (2350+0 LOC, 8 files); LLM: Adds new test cases for index hidden property type, expanding test coverage with no functional code changes.

If a label is wrong, remove it manually and ping @patty-chow so the rules can be tuned. The bot will not re-label items that already have component labels.

Comment on lines +386 to +392
a_ops = get_index_ops(result, "a_1")
assertSuccess(
a_ops,
Int64(0),
raw_res=True,
msg="Hiding a_1 should reset its counter to zero",
)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

this is already test before and unless you check b_1 index as well

)


def test_indexstats_reset_only_affects_toggled_index_b_unchanged(collection):

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

merge this this test with above

)


def test_all_inserts_indexed_while_hidden(collection):

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

already tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compatibility test Compatibility test related enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants