add ability to set randomizeClientPort

This commit is contained in:
Anton Schubert 2022-06-09 21:20:11 +02:00
parent e918ea89a3
commit 34be10840c
4 changed files with 14 additions and 3 deletions

View file

@ -68,6 +68,7 @@ func (*Suite) TestConfigLoading(c *check.C) {
fs.FileMode(0o770),
)
c.Assert(viper.GetBool("logtail.enabled"), check.Equals, false)
c.Assert(viper.GetBool("randomize_client_port"), check.Equals, false)
}
func (*Suite) TestDNSConfigLoading(c *check.C) {