ansh0014 opened a new pull request, #6881: URL: https://github.com/apache/camel-k/pull/6881
In `TestKamelCLILog`, `GetOutputStringAsync` was wrapping the output buffer in a `bufio.NewWriter` without flushing it. When running `kamel log` with `--tail 5`, the log output stays below the 4KB `bufio.Writer` buffer threshold, causing `buffer.String()` to remain empty until the 60s timeout. Also added an immediate `out.Flush()` after writing the `Monitoring pod <name>` line in `SelectorScraper` so the header is flushed right away. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
