diff --git a/.github/workflows/ci-jdk11.yml b/.github/workflows/ci-jdk11.yml index e5878aaa2..26e0991b6 100644 --- a/.github/workflows/ci-jdk11.yml +++ b/.github/workflows/ci-jdk11.yml @@ -69,6 +69,12 @@ jobs: java-version: '11' distribution: 'temurin' + - name: Verify Docker environment + timeout-minutes: 2 + run: | + python3 tools/ci/test_check_docker.py + bash tools/ci/check-docker.sh + - name: Setup Protoc uses: arduino/setup-protoc@v2 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bba2534f6..217afc9c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,6 +72,12 @@ jobs: distribution: 'temurin' cache: maven + - name: Verify Docker environment + timeout-minutes: 2 + run: | + python3 tools/ci/test_check_docker.py + bash tools/ci/check-docker.sh + - name: Setup Protoc uses: arduino/setup-protoc@v2 with: diff --git a/geaflow-ai/src/test/java/org/apache/geaflow/ai/index/KeywordIndexLifecycleGoldenTest.java b/geaflow-ai/src/test/java/org/apache/geaflow/ai/index/KeywordIndexLifecycleGoldenTest.java index 255681ad5..d86e9b8bd 100644 --- a/geaflow-ai/src/test/java/org/apache/geaflow/ai/index/KeywordIndexLifecycleGoldenTest.java +++ b/geaflow-ai/src/test/java/org/apache/geaflow/ai/index/KeywordIndexLifecycleGoldenTest.java @@ -39,23 +39,24 @@ import org.apache.geaflow.ai.graph.io.VertexSchema; import org.apache.geaflow.ai.index.vector.KeywordVector; import org.apache.geaflow.ai.operator.GraphSearchStore; +import org.apache.lucene.queryparser.classic.ParseException; +import org.apache.lucene.store.AlreadyClosedException; +import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; /** - * Lifecycle and retrieval-semantics tests for the keyword index, pinning the behavior issue #856 - * calls out as fragile: the store is rebuilt during every query, retrieval tolerates common-token - * noise, and deleted entities are filtered at query time rather than removed from the index. + * Lifecycle and retrieval-semantics tests for the keyword index: committed writes remain + * searchable until the store is closed, retrieval tolerates common-token noise, and deleted + * entities are filtered at query time rather than removed from the index. * *

The usage contract these tests document, in one place: * *