mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 11:29:48 +08:00
438790744d
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> |
||
---|---|---|
.. | ||
etcd | ||
mem | ||
mocks | ||
rocksdb | ||
kv.go | ||
mock_kv_test.go | ||
mock_kv.go | ||
mock_snapshot_kv_test.go | ||
mock_snapshot_kv.go | ||
mock_txn_kv.go | ||
OWNERS |