Commit Graph

22 Commits

Author SHA1 Message Date
James Rasell
3ffe6e5f53 test: Move client server manager tests to use must library. (#25569) 2025-04-01 14:23:08 +01:00
hashicorp-copywrite[bot]
2d35e32ec9 Update copyright file headers to BUSL-1.1 2023-08-10 17:27:15 -05:00
hashicorp-copywrite[bot]
f005448366 [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
Seth Hoenig
b21aeb8715 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
bda7b1ece0 feat: remove dependency to consul/lib
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2022-04-09 13:22:44 +02:00
Seth Hoenig
b242957990 ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
Michael Schurter
edd972519f client: drop unused DC field from servers list
See #5730 for details.
2019-05-20 14:19:15 -07:00
Michael Schurter
bb809ea259 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
5bfa35ab81 fix typo and add one more test scenario 2019-05-08 10:54:22 -05:00
Preetha Appan
12e1804733 code review feedback 2019-05-07 16:23:32 -05:00
Alex Dadgar
f91b269b2a fix test compiling 2018-10-16 16:56:55 -07:00
Michael Schurter
9da25adc54 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
98c7abe541 Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
Alex Dadgar
80c380b456 Fire retry only when consul discovers new servers 2018-04-05 10:40:17 -07:00
Alex Dadgar
ca3b13e4c0 randomize servers 2018-04-03 17:46:13 -07:00
Alex Dadgar
efa8bc0615 Fix original client server list behavior 2018-02-15 16:04:53 -08:00
Alex Dadgar
e2d1ce8ff2 Fix manager tests and make testagent recover from port conflicts 2018-02-15 13:59:01 -08:00
Alex Dadgar
eade7ff4b5 Fix lint/comments 2018-02-15 13:59:01 -08:00
Alex Dadgar
fa6c90a807 Unjankify the pkg 2018-02-15 13:59:01 -08:00
Alex Dadgar
5618fd43ee initial round of comment review 2018-02-15 13:59:01 -08:00
Alex Dadgar
5c1ba8fb8c Change defaults for min use duration 2018-02-15 13:59:01 -08:00
Alex Dadgar
b97b44a76f use server manager 2018-02-15 13:59:01 -08:00