[skip ci] Remove unused func in chaos test (#13254)

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
pull/13282/head
ThreadDao 2021-12-13 19:00:29 +08:00 committed by GitHub
parent 5f03e87bc2
commit c80a1c2376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -28,15 +28,6 @@ def apply_memory_stress(chaos_yaml):
log.debug("chaos injected")
def construct_from_data(collection_name, h5_path='./testdata/random_data_10000.h5'):
import pandas as pd
df = pd.read_hdf(h5_path, key='df')
collection_w = ApiCollectionWrapper()
collection_w.construct_from_dataframe(collection_name, dataframe=df, primary_field=ct.default_int64_field_name)
log.debug(collection_w.num_entities)
return collection_w
class TestChaosData:
@pytest.fixture(scope="function", autouse=True)