mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
add new test
This commit is contained in:
parent
1bebe57836
commit
da4278779d
3
pyengine/engine/controller/tests/test_scheduler.py
Normal file
3
pyengine/engine/controller/tests/test_scheduler.py
Normal file
@ -0,0 +1,3 @@
|
||||
import unittest
|
||||
from ..scheduler import *
|
||||
|
@ -98,7 +98,8 @@ class VectorEngine(object):
|
||||
|
||||
# create index
|
||||
index_builder = build_index.FactoryIndex()
|
||||
index = index_builder().build(d, raw_data)
|
||||
index = index_builder().build(d, raw_data) # type: index
|
||||
index = build_index.Index.serialize(index) # type: array
|
||||
|
||||
# TODO(jinhai): store index into Cache
|
||||
index_filename = file.filename + '_index'
|
||||
|
Loading…
Reference in New Issue
Block a user