Skip to content
New issue

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

[MS-174] table_name None bug create table successfully #50

Closed
XuanYang-cn opened this issue Jul 7, 2019 · 0 comments
Closed

[MS-174] table_name None bug create table successfully #50

XuanYang-cn opened this issue Jul 7, 2019 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@XuanYang-cn
Copy link
Contributor

_____ TestTable.test_create_wrong_table_name_null ________________________________________________________

self = <test_table.TestTable object at 0x7fb65c466eb8>, connect = Status(code=0, message='Connected')

def test_create_wrong_table_name_null(self, connect):
    '''
    target: test create table with no table_name
    method: create table with table_name: null
    expected: create status return not ok
    '''
    table_name = None
    param = {'table_name': table_name,
             'dimension': dim,
             'index_type': IndexType.FLAT,
             'store_raw_vector': False}
    status = connect.create_table(param)
  assert not status.OK()

E AssertionError: assert not True
E + where True = <bound method Status.OK of Status(code=0, message='Table None created!')>()
E + where <bound method Status.OK of Status(code=0, message='Table None created!')> = Status(code=0, message='Table None created!').OK

test_table.py:96: AssertionError

@XuanYang-cn XuanYang-cn added the kind/bug Something isn't working label Jul 7, 2019
@XuanYang-cn XuanYang-cn self-assigned this Jul 7, 2019
JinHai-CN added a commit that referenced this issue Jul 7, 2019
[ISSUE-#50-#51]fix a bug and add thread_safe
wxyucs pushed a commit that referenced this issue May 20, 2021
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant