Check keepSerializedObjects() condition after each test - Fixes
@@ -670,6 +670,7 @@ public abstract class GridAbstractTest extends JUnitAssertAware {
afterTest();
}
finally {
+ if (!keepSerializedObjects())
serializedObj.clear();
Thread.currentThread().setContextClassLoader(clsLdr);
