Boshi Lian
f32cf9eab3
fix warnings for net8 ( #1481 )
...
* fix ca2007
* xUnit1031
* fix ca2007
* fix ca2007
* remove deprecated ctor
* fix xUnit1031
* fix missing doc
* fix missing dispose
* fix ex
2024-01-09 18:05:26 +01:00
Philip Sanetra
109ca1de0d
Improve docs and naming of LeaderElector methods. ( #1468 )
...
* Improve docs and naming of `LeaderElector` methods. Also introduce `LeaderElector.RunAndTryToHoldLeadershipForeverAsync()`
* fix build
---------
Co-authored-by: Boshi Lian <farmer1992@gmail.com >
2023-12-06 21:24:40 +01:00
Boshi Lian
149eea642d
fix warnings by xunit ( #1352 )
2023-07-30 08:02:01 -07:00
Manuel Menegazzo
f615b5b459
Fix some compilation warnings ( #1010 )
...
* Fixe some summary warning
* Fixed more warning
* Uniformed example projects code
* Uniformed test projects code
* Fix OperatingSystems enum and GenericType summaries
2022-09-15 16:21:21 -07:00
Boshi Lian
eca9898902
API v1.23.0 + system.text.json + remove WatchXXX API ( #750 )
...
* gen v1.23.0
* fix converter
* bump ver
* update readme runtime
* fix warning
* update dep ver
* newtonjson -> system.text.json
* generate for new json api
* readme lf
* dotnet fmt
* dotnet fmt tests/
* dotnet fmt
* Revert "dotnet fmt"
This reverts commit e14c59076143fe2218ed899295a00762f0ea2bd6.
* fix err introduce by dotnet fmt
* fix test
* remove deprecated /watch api
* generate code after /watch removed
* remove /watch related code
* trim Microsoft.Rest.Serialization
2021-12-13 07:31:59 -08:00
Boshi Lian
72afeafe96
fix flaky leader election tests ( #676 )
...
* force max thread
* add log
* use countdown to sync
* add logs
* add thread
2021-08-09 07:25:32 -07:00
Boshi Lian
97ed40c5a8
fix delay ( #543 )
...
* fix delay ignored
* fix retry delay in ms
* fix retry delay in ms
* do not wait if timeout
* fix flasky test case
* delay to be timespan
* Revert "delay to be timespan"
This reverts commit 3a004b6a6904747fa5475adeadbf6e654082d809.
2021-01-08 09:10:55 -08:00
Boshi Lian
9a90881e31
leader election ( #537 )
...
* init leader leaderelection
* fix format
* remove unused import
* add config map
* fix space
* add multi lock
* lease lock
* cp case LeaderElection
* more test cases
* port all testcases from java
* fix space
* fix default timeout
* try to fix flasky gh action by reducing renew deadline
* try debug failed gh action
2020-12-17 10:03:10 -08:00