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

timeout in zstd/encoder_test.go:100 on ARM Cortex-A9 #165

Closed
rathann opened this issue Sep 28, 2019 · 1 comment
Closed

timeout in zstd/encoder_test.go:100 on ARM Cortex-A9 #165

rathann opened this issue Sep 28, 2019 · 1 comment

Comments

@rathann
Copy link

rathann commented Sep 28, 2019

The whole zst test takes over 120s total on an ARM Cortex-A9:

ok  	github.com/klauspost/compress/zstd	122.090s

I experimented with setting different timeout values in zstd/encoder_test.go:100 and found that 35 seconds is enough for this particular hardware, but you might want to increase it further to have some headroom for slower hardware.

@klauspost
Copy link
Owner

Thanks for the report. Set the timeout to 2 minutes.

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

No branches or pull requests

2 participants