From 0f30a7d1f3623d4bebfb07e14568221c98623bda Mon Sep 17 00:00:00 2001 From: Andre Kurait Date: Wed, 11 Nov 2026 12:41:30 -0600 Subject: [PATCH] test(resourceexplorer2): scope keyword OR search to its fixtures (#8041) --- .../ResourceExplorer2IntegrationTest.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/test/java/io/floci/aws/services/resourceexplorer2/ResourceExplorer2IntegrationTest.java b/src/test/java/io/floci/aws/services/resourceexplorer2/ResourceExplorer2IntegrationTest.java index 420e0d03a9..a97b2c28d8 100644 --- a/src/test/java/io/floci/aws/services/resourceexplorer2/ResourceExplorer2IntegrationTest.java +++ b/src/test/java/io/floci/aws/services/resourceexplorer2/ResourceExplorer2IntegrationTest.java @@ -2148,11 +2148,14 @@ class ResourceExplorer2IntegrationTest { @Test void freeFormKeywordsAreOredNotAnded() { - // "s3" and "dynamodb" share no resource, so an AND reading would return nothing. + // The two fixture names share no resource, so an AND reading would return nothing. They + // are this class's own, so the page holds its bucket and table whatever else the shared + // application has indexed: a broad pair such as "s3 dynamodb" also matches other + // classes' resources, which can fill the first page ahead of either. given() .header("Authorization", AUTH) .contentType("application/json") - .body("{\"QueryString\": \"s3 dynamodb\"}") + .body("{\"QueryString\": \"re2-test-bucket re2-test-table\"}") .when() .post("/Search") .then()