CI: lint test-integ (#18875)

* CI: lint test-integ

* fix lint error
This commit is contained in:
cskh 2023-09-19 10:05:51 -04:00 committed by GitHub
parent 6fd33ba30d
commit 9b497f8c78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ jobs:
- "envoyextensions"
- "troubleshoot"
- "test/integration/consul-container"
- "test-integ"
- "testing/deployer"
fail-fast: true
name: lint ${{ matrix.directory }}

View File

@ -196,7 +196,7 @@ func (s *ac7_2RotateLeaderSuite) test(t *testing.T, ct *commonTopo) {
func rotateLeader(t *testing.T, cl *api.Client) {
t.Helper()
oldLeader := findLeader(t, cl)
_, err := cl.Operator().RaftLeaderTransfer(nil)
_, err := cl.Operator().RaftLeaderTransfer("", nil)
require.NoError(t, err)
retry.RunWith(&retry.Timer{Timeout: 30 * time.Second, Wait: time.Second}, t, func(r *retry.R) {
newLeader := findLeader(r, cl)