To be more specific - test was added to thin client functional tests
located in *org.apache.ignite.client.FunctionalTest.*

Thank you.

On Sun, 21 Jun 2020 at 23:56, Guru Stron <gurustronpub...@gmail.com> wrote:

> Dear Igniters,
>
> Correct me if I'm wrong, but it seems that Java thin client
> *client.transactions().withLabel* functionality is broken. I've tried to
> add next test:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> * @Test    public void testTransactions1() throws Exception {        try
> (Ignite ignite = Ignition.start(Config.getServerConfiguration());
>    IgniteClient client = Ignition.startClient(getClientConfiguration())
>     ) {            ClientCache<Integer, String> cache =
> client.createCache(new ClientCacheConfiguration()
> .setName("cache")
> .setAtomicityMode(CacheAtomicityMode.TRANSACTIONAL)            );
>   cache.put(0, "value0");            cache.put(1, "value1");            //
> Test implicit rollback when transaction closed.            try
> (ClientTransaction tx =
> client.transactions().withLabel("asdasda").txStart()) {
> cache.put(1, "value2");            }            assertEquals("value1",
> cache.get(1));}    }*
>
> And it fails with:
>
>
>
>
> *org.junit.ComparisonFailure: Expected :value1Actual   :value2*
> Thank you.
>

Reply via email to