fix: use correct MinIO root path in text LOB layout test (#51535)

## What this PR does

- Change the default `MILVUS_MINIO_ROOT_PATH` from `files` to `file` in
the Text LOB inline/object layout test.
- Keep the environment-variable override available for deployments using
a custom root path.

issue: #51257

## Verification

- `python3 -m py_compile
tests/python_client/milvus_client/test_milvus_client_text_lob.py`
- Targeted pytest node collection completed successfully.
- Verified the committed diff contains only the requested one-line
default change.

Signed-off-by: Eric Hou <eric.hou@zilliz.com>
Co-authored-by: Eric Hou <eric.hou@zilliz.com>
This commit is contained in:
Feilong Hou
2026-07-17 21:10:39 +08:00
committed by GitHub
co-authored by Eric Hou
parent dc3c0a9617
commit 224f4ab7e9
@@ -2345,7 +2345,7 @@ class TestMilvusClientTextLOBEnvironmentGated(TestMilvusClientV2Base):
assert threshold > 0, f"MILVUS_TEXT_INLINE_THRESHOLD must be positive, got {threshold}"
minio_client = new_minio_client(minio_host)
ensure_minio_bucket(minio_client, minio_bucket)
root_path = os.getenv("MILVUS_MINIO_ROOT_PATH", "files")
root_path = os.getenv("MILVUS_MINIO_ROOT_PATH", "file")
client = self._client()
collection_name = cf.gen_collection_name_by_testcase_name()