Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add File.ReadFrom test on a SectionReader #485

Merged
merged 1 commit into from
Dec 28, 2021

Conversation

greatroar
Copy link
Contributor

This tests ReadFrom's determining concurrency from the estimated input
size. go test -cover -integration, before:

coverage: 77.3% of statements

After:

coverage: 79.2% of statements

client_integration_test.go Outdated Show resolved Hide resolved
client_integration_test.go Outdated Show resolved Hide resolved
client_integration_test.go Outdated Show resolved Hide resolved
client_integration_test.go Outdated Show resolved Hide resolved
client_integration_test.go Outdated Show resolved Hide resolved
@puellanivis
Copy link
Collaborator

Looks like quite excellent work!

@greatroar greatroar force-pushed the readfrom-test branch 2 times, most recently from 31306ef to 2f401a4 Compare December 22, 2021 17:33
client_integration_test.go Outdated Show resolved Hide resolved
client_integration_test.go Outdated Show resolved Hide resolved
client_integration_test.go Outdated Show resolved Hide resolved
This tests ReadFrom's determining concurrency from the estimated input
size. go test -cover -integration, before:

coverage: 77.3% of statements

After:

coverage: 79.2% of statements
Copy link
Collaborator

@puellanivis puellanivis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

(Waiting for anyone else to weigh in. If not, I’ll merge in a few days, at latest just after the new year.)

@drakkan drakkan merged commit 31aac3e into pkg:master Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants