()
| 649 | } |
| 650 | |
| 651 | func prepareBasicLifecyclerConfig() BasicLifecyclerConfig { |
| 652 | return BasicLifecyclerConfig{ |
| 653 | ID: testInstanceID, |
| 654 | Addr: "127.0.0.1:12345", |
| 655 | Zone: zone(1), |
| 656 | HeartbeatPeriod: time.Minute, |
| 657 | TokensObservePeriod: 0, |
| 658 | NumTokens: 5, |
| 659 | } |
| 660 | } |
| 661 | |
| 662 | func prepareBasicLifecycler(t testing.TB, cfg BasicLifecyclerConfig) (*BasicLifecycler, *mockDelegate, kv.Client, error) { |
| 663 | delegate := &mockDelegate{} |
no outgoing calls
no test coverage detected