ignite-3477-master fix GridCacheConditionalDeploymentSelfTest.testAddedDeploymentInfo
@@ -29,6 +29,7 @@ import org.apache.ignite.plugin.extensions.communication.Message;
import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
import org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinder;
import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
+import org.apache.ignite.testframework.config.GridTestProperties;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
@@ -122,6 +123,11 @@ public class GridCacheConditionalDeploymentSelfTest extends GridCommonAbstractTe
* @throws Exception In case of error.
*/
public void testAddedDeploymentInfo() throws Exception {
+ GridCacheContext ctx = cacheContext();
+
+ if (grid(0).configuration().getMarshaller() instanceof BinaryMarshaller)
+ assertFalse(ctx.deploymentEnabled());
+ else {
GridCacheIoManager ioMgr = cacheIoManager();
TestMessage msg = new TestMessage();
@@ -134,6 +140,7 @@ public class GridCacheConditionalDeploymentSelfTest extends GridCommonAbstractTe
assertNotNull(msg.deployInfo());
}
+ }
/**
* @throws Exception In case of error.
