[v17] Fix kube discovery service poll_interval value not set correctly#61792
[v17] Fix kube discovery service poll_interval value not set correctly#61792kshi36 merged 6 commits intobranch/v17from
poll_interval value not set correctly#61792Conversation
…60982) * Fix kube discovery service poll interval * Add unit test, pass down clocks in discovery configs * Leverage synctest, pass down clocks properly * Refactor
|
Since branch/v17 does not include |
Can we add |
r0mant
left a comment
There was a problem hiding this comment.
lgtm once Tim's comment is addressed
| t.Run(tt.name, func(t *testing.T) { | ||
| t.Parallel() | ||
|
|
||
| synctest.Test(t, func(t *testing.T) { |
There was a problem hiding this comment.
Utilizes testutils.synctest, same as v18
| cloudClients: &cloud.TestCloudClients{ | ||
| STS: &mocks.STSMock{}, | ||
| EKS: &mocks.EKSMock{ |
There was a problem hiding this comment.
Refactored to use cloud.TestCloudClients to match usage in v17 tests
I added |
Backport #60982 to branch/v17
changelog: Fixed bug where Kubernetes App Discovery
poll_intervalis not set correctly