Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Conversation

artms
Copy link
Contributor

@artms artms commented Nov 7, 2017

Unfortunetely not sure if it is possible to cover with unit test because during unit testing FilePath.read() is backed by FileInputStream but when it is actually executed on slave only first 8192 bytes are read hence comments are truncated... It looks like such chunks are delivered by jenkins Pipe implementation. Let's use Commons read() which tries to read content fully and avoid loop checking read lenght

@coveralls
Copy link

Coverage Status

Coverage remained the same at 90.619% when pulling b67c25d on artms:read_fuly into 6cfd526 on uber:master.

@kageiit kageiit merged commit 8362b8a into uber-archive:master Nov 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants