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

EncryptedServerSideMultipartManagerIT#doubleCompleteFails causes its own error (incorrectly) #362

Open
tjcelaya opened this issue Oct 19, 2017 · 0 comments

Comments

@tjcelaya
Copy link
Contributor

This test case asserts that an exception is thrown when EncryptedServerSideMultipartManager#complete is called twice but that's not actually what it's testing. The IllegalStateException is throw because partStream has already been consumed, replacing the variable with Arrays.stream(parts) prevents the exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant