Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

[UT] #1199

Closed
Shylock-Hg opened this issue Jul 2, 2021 · 0 comments
Closed

[UT] #1199

Shylock-Hg opened this issue Jul 2, 2021 · 0 comments
Assignees
Labels
bug Type: something is unexpected

Comments

@Shylock-Hg
Copy link
Contributor

tck/steps/test_kill_slow_query_via_same_service.py::test_set_up_slow_query 
tck/steps/test_kill_slow_query_via_same_service.py::test_show_all_queries_and_kill_all_slow_queries 
[gw1] [ 50%] PASSED tck/steps/test_kill_slow_query_via_same_service.py::test_show_all_queries_and_kill_all_slow_queries 
[gw0] [100%] FAILED tck/steps/test_kill_slow_query_via_same_service.py::test_set_up_slow_query 

=================================== FAILURES ===================================
____________________________ test_set_up_slow_query ____________________________
[gw0] linux -- Python 3.8.5 /usr/bin/python3
/github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:179: in scenario_wrapper
    _execute_scenario(feature, scenario, request, encoding)
/github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:145: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:115: in _execute_step_function
    return_value = step_func(**kwargs)
tck/conftest.py:421: in raised_type_error
    assert not res.is_succeeded(), f"Response should be failed: ngql:{ngql}"
E   AssertionError: Response should be failed: ngql:GO 100000 STEPS FROM "Tim Duncan" OVER like
E   assert not True
E    +  where True = <bound method ResultSet.is_succeeded of ResultSet(keys: ['like._dst'], values: ["Tim Duncan"],["Manu Ginobili"],["Tony Parker"],["LaMarcus Aldridge"],["Manu Ginobili"],["Tim Duncan"],["Tim Duncan"],["Tony Parker"])>()
E    +    where <bound method ResultSet.is_succeeded of ResultSet(keys: ['like._dst'], values: ["Tim Duncan"],["Manu Ginobili"],["Tony Parker"],["LaMarcus Aldridge"],["Manu Ginobili"],["Tim Duncan"],["Tim Duncan"],["Tony Parker"])> = ResultSet(keys: ['like._dst'], values: ["Tim Duncan"],["Manu Ginobili"],["Tony Parker"],["LaMarcus Aldridge"],["Manu Ginobili"],["Tim Duncan"],["Tim Duncan"],["Tony Parker"]).is_succeeded
----------------------------- Captured stderr call -----------------------------
[2021-07-02 17:58:53,538]:Get connection to ('127.0.0.1', 4219)
------------------------------ Captured log call -------------------------------
INFO     root:__init__.py:264 Get connection to ('127.0.0.1', 4219)
-- generated json file: /__w/nebula-graph/nebula-graph/tests/tck-report.json ---
=========================== short test summary info ============================
FAILED tck/steps/test_kill_slow_query_via_same_service.py::test_set_up_slow_query
=================== 1 failed, 1 passed in 166.01s (0:02:46) ====================
/github/home/.local/lib/python3.8/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.
  warner(PytestBenchmarkWarning(text))
make: *** [Makefile:60: tck] Error 1
Error: Process completed with exit code 2.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

2 participants