This project demonstrates 2 errors with localstack.
The first error involves doing many puts in parallel:
Note: This error has been fixed by localstack/localstack#1217
- Clone this repo
- Make sure Docker is running on your machine
- Run
mvn clean install -Dtest=LocalstackTest#testParallelWrites
- See
many errors (no errorsUnable to verify integrity of data upload
) - Change
MAX_THREADS
to 1 inLocalstackTest
- Run
mvn clean install -Dtest=LocalstackTest#testParallelWrites
again - See no errors
- Be
confused and sadhappy
The second error involves doing a put with data that has a trailing newline:
- Clone this repo
- Make sure Docker is running on your machine
- Run
mvn clean install -Dtest=LocalstackTest#testTrailingNewline
- See an error (
Unable to verify integrity of data upload
) - Remove the trailing newline in the
contents
variable in thetestTrailingNewline
method inLocalstackTest
- Run
mvn clean install -Dtest=LocalstackTest#testTrailingNewline
again - See no error
- Be confused and sad