mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-07-31 00:52:01 +08:00
Test: Skip test case for PR 6443 (#6724)
### What problem does this PR solve? Skip test case for PR #6443 ### Type of change - [x] update test cases
This commit is contained in:
parent
117f18240d
commit
3ae1e9e3c4
@ -145,7 +145,7 @@ def set_tenant_info(get_auth):
|
|||||||
tenant_info = {
|
tenant_info = {
|
||||||
"tenant_id": tenant_id,
|
"tenant_id": tenant_id,
|
||||||
"llm_id": "glm-4-flash@ZHIPU-AI",
|
"llm_id": "glm-4-flash@ZHIPU-AI",
|
||||||
"embd_id": "embedding-3@ZHIPU-AI",
|
"embd_id": "BAAI/bge-large-zh-v1.5@BAAI",
|
||||||
"img2txt_id": "glm-4v@ZHIPU-AI",
|
"img2txt_id": "glm-4v@ZHIPU-AI",
|
||||||
"asr_id": "",
|
"asr_id": "",
|
||||||
"tts_id": None,
|
"tts_id": None,
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
import os
|
|
||||||
from concurrent.futures import ThreadPoolExecutor
|
from concurrent.futures import ThreadPoolExecutor
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
@ -169,8 +168,7 @@ class TestChunksDeletion:
|
|||||||
),
|
),
|
||||||
(lambda r: {"chunk_ids": r[:1]}, 0, "", 4),
|
(lambda r: {"chunk_ids": r[:1]}, 0, "", 4),
|
||||||
(lambda r: {"chunk_ids": r}, 0, "", 1),
|
(lambda r: {"chunk_ids": r}, 0, "", 1),
|
||||||
pytest.param({"chunk_ids": []}, 0, "", 5, marks=pytest.mark.skipif(os.getenv("DOC_ENGINE") == "infinity", reason="issues/6607")),
|
pytest.param({"chunk_ids": []}, 0, "", 0, marks=pytest.mark.skip(reason="issues/6607")),
|
||||||
pytest.param({"chunk_ids": []}, 102, "rm_chunk deleted chunks 5, expect 0", 0, marks=pytest.mark.skipif(os.getenv("DOC_ENGINE") in [None, "elasticsearch"], reason="issues/6607")),
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
def test_basic_scenarios(
|
def test_basic_scenarios(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user