Co-ordinator GetAll fails for some data
commit6a88df38bbdfdc801d7025682529d49255d26add
authorArunachalam Thirupathi <arunachalam.t@gmail.com>
Mon, 14 Apr 2014 21:12:36 +0000 (14 14:12 -0700)
committerArunachalam Thirupathi <arunachalam.t@gmail.com>
Tue, 15 Apr 2014 18:57:47 +0000 (15 11:57 -0700)
treefa36357bcfa9029e7d475ef75d3aa7c95820c078
parent351f4dee88829f2107afd5c283fb0768b5282165
Co-ordinator GetAll fails for some data

1) Unit tests for GetAll had a bug, which did not fail the tests.
   The values were compared, but the tests did not fail when the
   values does not match. created a method assertValueEquals to
   handle this scenario.
2) The client deserialization used the getContent method which
   corrupted the binary data. Now using getRawInputStream. But not
   sure about the difference between the getInputStream and
   getRawInputStream.
3) Wrote 2 new tests to check all possible byte data for co-ordinators
  ( get, getall )
4) Refactored some of the unit tests to use a common code path.
contrib/restclient/src/java/voldemort/restclient/R2Store.java
contrib/restclient/test/voldemort/client/RestServiceR2StoreTest.java
test/unit/voldemort/store/AbstractByteArrayStoreTest.java
test/unit/voldemort/store/AbstractStoreTest.java
test/unit/voldemort/store/configuration/FileBackedCachingStorageEngineTest.java