I am against changing core logic just for test env. How about cleaning up the disc storage after test class completes?
--Yakov 2015-12-14 10:12 GMT+03:00 Vladimir Ozerov <voze...@gridgain.com>: > Folks, > > As you know our marshallers persists some data to disk. Namely, mappings > from class name to class ID. For this reason some tests work with clean > work directory, some other tests work with dirty work directory. > > This hides some marshaller bugs. E.g. after work dir cleanup I immediately > received several failures in BinaryObjectBuilderSelfTest. > > I think we must fix this ASAP and ensure that all tests run in a clean > environment. Probably in test environment we should store this metadata in > a kind of node-bound HashMap or so. > > Thoughts? > > Vladimir. >