milvus/internal/kv
Eng Zer Jun 438790744d
test: use T.Setenv to set env vars in tests (#19649)
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-11 18:43:23 +08:00
..
etcd test: use T.Setenv to set env vars in tests (#19649) 2022-10-11 18:43:23 +08:00
mem Add a specific KeyNotExistError err for the metastore load interface (#18582) 2022-08-10 17:20:41 +08:00
mocks Add Revert in DataCoord meta catalog (#19313) 2022-09-23 10:50:51 +08:00
rocksdb refine complie configuration (#17502) 2022-06-24 21:12:15 +08:00
kv.go Refactor RootCoord (#18930) 2022-09-05 13:29:11 +08:00
mock_kv_test.go Support Bulk Load in Milvus 2.2 (#18982) 2022-09-26 18:06:54 +08:00
mock_kv.go Support Bulk Load in Milvus 2.2 (#18982) 2022-09-26 18:06:54 +08:00
mock_snapshot_kv_test.go Refine catalog of partition & alias. (#18546) 2022-08-10 10:22:38 +08:00
mock_snapshot_kv.go Refine catalog of partition & alias. (#18546) 2022-08-10 10:22:38 +08:00
mock_txn_kv.go Refactor RootCoord (#18930) 2022-09-05 13:29:11 +08:00
OWNERS [skip ci]Update OWNERS files (#11898) 2021-11-16 15:41:11 +08:00