From 679ed00a6e23b3ebfdac8d6743fc320169bcba36 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 23 Nov 2026 02:08:14 -0800 Subject: [PATCH] test(s3vectors): let weed-vector-cli find the namespace through the masters weed-vector-cli dropped --namespace and looks the Lance Namespace up among the gateways the masters list, so the index job test failed on its arguments once the worker could register. Co-Authored-By: Claude Opus 5.5 --- test/s3vectors/s3vectors_test.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/s3vectors/s3vectors_test.py b/test/s3vectors/s3vectors_test.py index 95b4f4432a..ddedd05354 100644 --- a/test/s3vectors/s3vectors_test.py +++ b/test/s3vectors/s3vectors_test.py @@ -143,15 +143,14 @@ def assert_engine_wrote_like_the_gateway(cluster, index): def run_cli(cluster, *args): """weed-vector-cli's JSON answer. It reaches the cluster through the - namespace that names the tables, the masters whose filers hold them and the - cluster token's key, and finds security.toml and the read key where the - weed processes do.""" + masters, whose gateways and filers hold the tables, and the cluster token's + key, and finds security.toml and the read key where the weed processes do.""" import os import subprocess from pathlib import Path cli = Path(os.environ.get("VECTOR_CLI_BINARY", Path(__file__).resolve().parent / "weed-vector-cli")).resolve() - command = [str(cli), "--namespace", cluster["catalog"], "--masters", cluster["masters"], - "--filer-signing-key", cluster["filer_signing_key"], "--filer-group", os.environ.get("VECTOR_FILER_GROUP", ""), *args] + command = [str(cli), "--masters", cluster["masters"], "--filer-signing-key", cluster["filer_signing_key"], + "--filer-group", os.environ.get("VECTOR_FILER_GROUP", ""), *args] return json.loads(subprocess.run(command, check=True, capture_output=True, text=True, cwd=cluster["directory"], env=cluster["env"]).stdout)