File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,19 @@ from nuvolaris.milvus_simple_client import MilvusSimpleClient as MilvusClient
28
28
from nuvolaris.user_config import UserConfig
29
29
from nuvolaris.user_metadata import UserMetadata
30
30
31
- # tu.enable_debug_logging()
31
+
32
+ #tu.enable_debug_logging()
33
+ ### Initial cleanup
34
+ !kubectl -n nuvolaris delete all --all
35
+ !kubectl -n nuvolaris delete pvc --all
36
+
32
37
# test
33
38
assert(cfg.configure(tu.load_sample_config()))
34
39
assert(cfg.detect_storage()["nuvolaris.storageclass"])
35
40
36
41
# for this test minioClient and Milvus should see this env variable
37
42
os.environ['MINIO_API_HOST']='localhost'
38
43
os.environ['MILVUS_API_HOST']='localhost'
39
- os.environ['MILVUS_ROOT_PASSWORD']='An0therPa55'
40
44
41
45
assert(etcd.create())
42
46
assert(minio.create())
@@ -88,3 +92,8 @@ assert(milvus.delete_ow_milvus(ucfg))
88
92
assert(milvus.delete())
89
93
assert(etcd.delete())
90
94
assert(minio.delete())
95
+
96
+ # final cleanup
97
+ !kubectl -n nuvolaris delete all --all
98
+ # etcd pvc in particular
99
+ !kubectl -n nuvolaris delete pvc --all
You can’t perform that action at this time.
0 commit comments