We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please check the FAQ documentation before raising an issue
Describe the bug (required)
_______________________________________________________________________________________________________________________________ test_optional_match_1 _______________________________________________________________________________________________________________________________ [gw2] linux -- Python 3.8.10 /usr/bin/python3 ../../../.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) ../../../.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) ../../../.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:785: in check_plan assert differ.diff(), differ.err_msg() E AssertionError: Invalid descriptions, expect: {"props": [{"props": ["name", "age", "_tag"], "tagId": 9}, {"props": ["name", "speciality", "_tag"], "tagId": 8}, {"props": ["name", "_tag"], "tagId": 10}]} vs. resp: {"inputVar": "__Traverse_9", "space": "2", "dedup": "true", "limit": "-1", "filter": "", "orderBy": "[]", "src": "none_direct_dst($-.__VAR_1)", "props": "[{"props":["name","speciality","_tag"],"tagId":8},{"props":["name","age","_tag"],"tagId":9},{"props":["name","_tag"],"tagId":10}]", "exprs": "", "vertex_filter": "", "if_track_previous_path": "true"} E assert False E + where False = <bound method PlanDiffer.diff of <tests.common.plan_differ.PlanDiffer object at 0x7fb4b6ca54c0>>() E + where <bound method PlanDiffer.diff of <tests.common.plan_differ.PlanDiffer object at 0x7fb4b6ca54c0>> = <tests.common.plan_differ.PlanDiffer object at 0x7fb4b6ca54c0>.diff ------------------------------------------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------------------------------------------- {'inputVar': '__Traverse_4', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_0)', 'props': [{'props': ['name'], 'tagId': 9}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True} {'props': [{'props': ['name'], 'tagId': 9}]} {'inputVar': '__Traverse_4', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_0)', 'props': [{'props': ['name'], 'tagId': 9}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True} {} {'inputVar': '__Traverse_9', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_1)', 'props': [{'props': ['name', 'speciality', '_tag'], 'tagId': 8}, {'props': ['name', 'age', '_tag'], 'tagId': 9}, {'props': ['name', '_tag'], 'tagId': 10}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True} {'props': [{'props': ['name', 'age', '_tag'], 'tagId': 9}, {'props': ['name', 'speciality', '_tag'], 'tagId': 8}, {'props': ['name', '_tag'], 'tagId': 10}]} {'inputVar': '__Traverse_9', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_1)', 'props': [{'props': ['name', 'age', '_tag'], 'tagId': 9}, {'props': ['name', 'speciality', '_tag'], 'tagId': 8}, {'props': ['name', '_tag'], 'tagId': 10}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True} {'values_changed': {"root['props'][0]['props'][1]": {'new_value': 'age', 'old_value': 'speciality'}, "root['props'][0]['tagId']": {'new_value': 9, 'old_value': 8}, "root['props'][1]['props'][1]": {'new_value': 'speciality', 'old_value': 'age'}, "root['props'][1]['tagId']": {'new_value': 8, 'old_value': 9}}}
Your Environments (required)
uname -a
lscpu
How To Reproduce(required)
Steps to reproduce the behavior:
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered:
fix vesoft-inc#4425, vesoft-inc#4426, vesoft-inc#4427, vesoft-inc#4428.…
79fda1d
… reorder properties in test case to pass the test. no bug found.
0d718ef
No branches or pull requests
Please check the FAQ documentation before raising an issue
Describe the bug (required)
_______________________________________________________________________________________________________________________________ test_optional_match_1 _______________________________________________________________________________________________________________________________
[gw2] linux -- Python 3.8.10 /usr/bin/python3
../../../.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper
_execute_scenario(feature, scenario, request, encoding)
../../../.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario
_execute_step_function(request, scenario, step, step_func)
../../../.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function
return_value = step_func(**kwargs)
tck/conftest.py:785: in check_plan
assert differ.diff(), differ.err_msg()
E AssertionError: Invalid descriptions, expect: {"props": [{"props": ["name", "age", "_tag"], "tagId": 9}, {"props": ["name", "speciality", "_tag"], "tagId": 8}, {"props": ["name", "_tag"], "tagId": 10}]} vs. resp: {"inputVar": "__Traverse_9", "space": "2", "dedup": "true", "limit": "-1", "filter": "", "orderBy": "[]", "src": "none_direct_dst($-.__VAR_1)", "props": "[{"props":["name","speciality","_tag"],"tagId":8},{"props":["name","age","_tag"],"tagId":9},{"props":["name","_tag"],"tagId":10}]", "exprs": "", "vertex_filter": "", "if_track_previous_path": "true"}
E assert False
E + where False = <bound method PlanDiffer.diff of <tests.common.plan_differ.PlanDiffer object at 0x7fb4b6ca54c0>>()
E + where <bound method PlanDiffer.diff of <tests.common.plan_differ.PlanDiffer object at 0x7fb4b6ca54c0>> = <tests.common.plan_differ.PlanDiffer object at 0x7fb4b6ca54c0>.diff
------------------------------------------------------------------------------------------------------------------------------- Captured stdout call --------------------------------------------------------------------------------------------------------------------------------
{'inputVar': '__Traverse_4', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_0)', 'props': [{'props': ['name'], 'tagId': 9}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{'props': [{'props': ['name'], 'tagId': 9}]}
{'inputVar': '__Traverse_4', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_0)', 'props': [{'props': ['name'], 'tagId': 9}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{}
{'inputVar': '__Traverse_9', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_1)', 'props': [{'props': ['name', 'speciality', '_tag'], 'tagId': 8}, {'props': ['name', 'age', '_tag'], 'tagId': 9}, {'props': ['name', '_tag'], 'tagId': 10}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{'props': [{'props': ['name', 'age', '_tag'], 'tagId': 9}, {'props': ['name', 'speciality', '_tag'], 'tagId': 8}, {'props': ['name', '_tag'], 'tagId': 10}]}
{'inputVar': '__Traverse_9', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_1)', 'props': [{'props': ['name', 'age', '_tag'], 'tagId': 9}, {'props': ['name', 'speciality', '_tag'], 'tagId': 8}, {'props': ['name', '_tag'], 'tagId': 10}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{'values_changed': {"root['props'][0]['props'][1]": {'new_value': 'age', 'old_value': 'speciality'}, "root['props'][0]['tagId']": {'new_value': 9, 'old_value': 8}, "root['props'][1]['props'][1]": {'new_value': 'speciality', 'old_value': 'age'}, "root['props'][1]['tagId']": {'new_value': 8, 'old_value': 9}}}
Your Environments (required)
uname -a
lscpu
How To Reproduce(required)
Steps to reproduce the behavior:
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: