mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 03:48:37 +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> |
||
---|---|---|
.. | ||
embed_etcd_config_test.go | ||
embed_etcd_kv_test.go | ||
embed_etcd_kv.go | ||
embed_etcd_restart_test.go | ||
etcd_kv_test.go | ||
etcd_kv.go | ||
metakv_factory.go |