mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-11 09:46:26 +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> |
||
---|---|---|
.. | ||
config_test.go | ||
config.go | ||
env_source.go | ||
etcd_source.go | ||
event.go | ||
file_source.go | ||
manager_test.go | ||
manager.go | ||
source_test.go | ||
source.go |