milvus/internal/util/paramtable
Eng Zer Jun 438790744d
test: use T.Setenv to set env vars in tests (#19649)
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>
2022-10-11 18:43:23 +08:00
..
autoindex_param_test.go Add logic of autoindex (#19570) 2022-10-08 15:38:58 +08:00
autoindex_param.go Add logic of autoindex (#19570) 2022-10-08 15:38:58 +08:00
base_table_test.go test: use T.Setenv to set env vars in tests (#19649) 2022-10-11 18:43:23 +08:00
base_table.go improve logs to debug growing segment load failed (#19419) 2022-09-26 17:36:54 +08:00
component_param_test.go MEP-30:Support basic coordinators active-standby mechanism #16901 (#19166) 2022-09-29 18:35:02 +08:00
component_param.go Add logic of autoindex (#19570) 2022-10-08 15:38:58 +08:00
grpc_param_test.go Fix rpc retry policy not taking effect (#17673) 2022-06-22 22:22:13 +08:00
grpc_param.go Fix rpc retry policy not taking effect (#17673) 2022-06-22 22:22:13 +08:00
hook_config.go Implement the hook interceptor (#19294) 2022-09-23 09:50:52 +08:00
http_param_test.go RESTful api use same port as metrics & healthcheck (#17732) 2022-06-24 15:34:14 +08:00
http_param.go RESTful api use same port as metrics & healthcheck (#17732) 2022-06-24 15:34:14 +08:00
param_item.go config from etcd (#18421) 2022-08-01 10:04:33 +08:00
quota_param_test.go Update quota params and disable limit for showCollection (#19641) 2022-10-09 14:30:58 +08:00
quota_param.go Update quota params and disable limit for showCollection (#19641) 2022-10-09 14:30:58 +08:00
service_param_test.go test: use T.Setenv to set env vars in tests (#19649) 2022-10-11 18:43:23 +08:00
service_param.go add user special kafka config (#18742) 2022-08-25 11:02:53 +08:00