ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vyacheslav Daradur (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-10705) Wrong check of test's compatible 'dataMode' in IgniteConfigVariationsAbstractTest
Date Sat, 15 Dec 2018 11:47:00 GMT
Vyacheslav Daradur created IGNITE-10705:
-------------------------------------------

             Summary: Wrong check of test's compatible 'dataMode' in IgniteConfigVariationsAbstractTest
                 Key: IGNITE-10705
                 URL: https://issues.apache.org/jira/browse/IGNITE-10705
             Project: Ignite
          Issue Type: Bug
            Reporter: Vyacheslav Daradur


Found that method {{IgniteConfigVariationsAbstractTest#isCompatible}} works incorrectly.

Here is the actual code:
{code:java}
    protected boolean isCompatible() throws Exception {
        switch (dataMode) {
            case BINARILIZABLE:
            case PLANE_OBJECT:
                return !(getConfiguration().getMarshaller() instanceof JdkMarshaller);
        }
        return false;
    }
{code}
It returns {{false}} if a test mode is [SERIALIZABLE, CUSTOM_SERIALIZABLE], but this is main
modes which are supported by any marshaller.

*That means a set of tests which should be executed will be skipped instead.*

Also, modes {{BINARILIZABLE}} and {{PLANE_OBJECT}} are supported only by {{BinaryMarshaller}}
and {{OptimizedMarshaller.setRequireSerializable(false)}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message