don't use leader elect on ccm integration tests

Change-Id: Ic1d0ff73d7913f23ed577a121b0045a1c33b9e78
This commit is contained in:
Antonio Ojea 2024-02-16 18:20:50 +00:00
parent 08f8be9903
commit ef83ec2753

View File

@ -109,6 +109,8 @@ func StartTestServer(ctx context.Context, customFlags []string) (result TestServ
return TestServer{}, err
}
s.Generic.LeaderElection.LeaderElect = false
cloudInitializer := func(config *config.CompletedConfig) cloudprovider.Interface {
capturedConfig = *config
// send signal to indicate the capturedConfig has been properly set