mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 04:49:08 +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> |
||
---|---|---|
.. | ||
autoindex_param_test.go | ||
autoindex_param.go | ||
base_table_test.go | ||
base_table.go | ||
component_param_test.go | ||
component_param.go | ||
grpc_param_test.go | ||
grpc_param.go | ||
hook_config.go | ||
http_param_test.go | ||
http_param.go | ||
param_item.go | ||
quota_param_test.go | ||
quota_param.go | ||
service_param_test.go | ||
service_param.go |