Skip to content

test: split log gathering goroutine#12282

Merged
nebril merged 1 commit intomasterfrom
pr/split-log-gathering-goroutine
Jun 26, 2020
Merged

test: split log gathering goroutine#12282
nebril merged 1 commit intomasterfrom
pr/split-log-gathering-goroutine

Conversation

@nebril
Copy link
Copy Markdown
Member

@nebril nebril commented Jun 25, 2020

If Cilium pods are in crash loop backoff, kub.DumpCiliumCommandOutput
blocks for whole context duration, which causes subsequent kub.GatherLogs
call to fail immediately.

This change splits these two calls to separate goroutines.

If Cilium pods are in crash loop backoff, `kub.DumpCiliumCommandOutput`
blocks for whole context duration, which causes subsequent `kub.GatherLogs`
call to fail immediately.

This change splits these two calls to separate goroutines.

Signed-off-by: Maciej Kwiek <maciej@isovalent.com>
@nebril nebril requested a review from a team as a code owner June 25, 2020 09:44
@maintainer-s-little-helper
Copy link
Copy Markdown

Please set the appropriate release note label.

@nebril
Copy link
Copy Markdown
Member Author

nebril commented Jun 25, 2020

test-4.9

@nebril nebril merged commit 802fa78 into master Jun 26, 2020
@nebril nebril deleted the pr/split-log-gathering-goroutine branch June 26, 2020 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/ci This PR makes changes to the CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants