fleet/server/datastore
Eng Zer Jun 1ab171faf3
test: use T.Setenv to set env vars in tests (#6714)
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>
2022-07-18 14:22:28 -03:00
..
cached_mysql Introduce API version 2022-04, deprecate use of /global in paths (#4731) 2022-04-05 11:35:53 -04:00
mysql test: use T.Setenv to set env vars in tests (#6714) 2022-07-18 14:22:28 -03:00
mysqlredis Track active hosts count and enforce limit (#6099) 2022-06-13 16:29:32 -04:00
redis Detect the NOPERM error to mean redis cluster is disabled (#5058) 2022-04-11 16:17:30 -04:00
s3 add API endpoints to retrieve pre-built installers (#6672) 2022-07-18 13:44:30 -03:00