Seth Hoenig
590ae08752
main: remove deprecated uses of rand.Seed ( #16074 )
...
* main: remove deprecated uses of rand.Seed
go1.20 deprecates rand.Seed, and seeds the rand package
automatically. Remove cases where we seed the random package,
and cleanup the one case where we intentionally create a
known random source.
* cl: update cl
* mod: update go mod
2023-02-07 09:19:38 -06:00
Yoan Blanc
5e8254beda
feat: remove dependency to consul/lib
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2022-04-09 13:22:44 +02:00
Seth Hoenig
2631659551
ci: swap ci parallelization for unconstrained gomaxprocs
2022-03-15 12:58:52 -05:00
Michael Schurter
d41abda957
client: drop unused DC field from servers list
...
See #5730 for details.
2019-05-20 14:19:15 -07:00
Michael Schurter
3b1f8991a1
client: log when server list changes
...
Stop logging in the happy path when nothing has changed.
2019-05-13 15:42:55 -07:00
Preetha Appan
3289e7f4a0
fix typo and add one more test scenario
2019-05-08 10:54:22 -05:00
Preetha Appan
db6b291a5a
code review feedback
2019-05-07 16:23:32 -05:00
Alex Dadgar
9baa7402ef
fix test compiling
2018-10-16 16:56:55 -07:00
Michael Schurter
9d1ea3b228
client: hclog-ify most of the client
...
Leaving fingerprinters in case that interface changes with plugins.
2018-10-16 16:53:30 -07:00
Alex Dadgar
300b1a7a15
Tests only use testlog package logger
2018-06-13 15:40:56 -07:00
Alex Dadgar
7941f4eb2d
Fire retry only when consul discovers new servers
2018-04-05 10:40:17 -07:00
Alex Dadgar
ec844f19d9
randomize servers
2018-04-03 17:46:13 -07:00
Alex Dadgar
eff4455c68
Fix original client server list behavior
2018-02-15 16:04:53 -08:00
Alex Dadgar
9bc75f0ad4
Fix manager tests and make testagent recover from port conflicts
2018-02-15 13:59:01 -08:00
Alex Dadgar
feb943c873
Fix lint/comments
2018-02-15 13:59:01 -08:00
Alex Dadgar
ac67da3b06
Unjankify the pkg
2018-02-15 13:59:01 -08:00
Alex Dadgar
3f1f8604bb
initial round of comment review
2018-02-15 13:59:01 -08:00
Alex Dadgar
05c4fe8675
Change defaults for min use duration
2018-02-15 13:59:01 -08:00
Alex Dadgar
3f786b904b
use server manager
2018-02-15 13:59:01 -08:00