OpenHFT / Chronicle-Map

Replicate your Key Value Store across your network, with consistency, persistance and performance.
http://chronicle.software/products/chronicle-map/
Apache License 2.0
2.77k stars 469 forks source link

Exceptional-behavior test to cover the throw statement in method 'actualChunkSize' #524

Closed JiyangZhang closed 6 months ago

JiyangZhang commented 6 months ago

Add an exceptional-behavior test to CHMUseCasesTest.java to test the IllegalArgumentException in method actualChunkSize under the condition where the argument is a negative number.