mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 19:39:21 +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> |
||
---|---|---|
.. | ||
datacoord_metrics.go | ||
datanode_metrics.go | ||
etcd_metrics.go | ||
indexcoord_metrics.go | ||
indexnode_metrics.go | ||
metrics_test.go | ||
metrics.go | ||
proxy_metrics.go | ||
querycoord_metrics.go | ||
querynode_metrics.go | ||
rootcoord_metrics.go |