[
https://issues.apache.org/jira/browse/IGNITE-23211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17882390#comment-17882390
]
Ignite TC Bot commented on IGNITE-23211:
----------------------------------------
{panel:title=Branch: [pull/11537/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/11537/head] Base: [master] : New Tests
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Cache 1{color} [[tests
1|https://ci2.ignite.apache.org/viewLog.html?buildId=8072315]]
* {color:#013220}IgniteBinaryCacheTestSuite:
RemoveEntryProcessorTransactionTest.testDelete - PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8072417&buildTypeId=IgniteTests24Java8_RunAll]
> get operation fails in optimistic transaction
> ---------------------------------------------
>
> Key: IGNITE-23211
> URL: https://issues.apache.org/jira/browse/IGNITE-23211
> Project: Ignite
> Issue Type: Bug
> Reporter: Nikolay Izhikov
> Assignee: Nikolay Izhikov
> Priority: Blocker
> Labels: ise
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> {code:java}
> /** */
> public class TransactionTest extends GridCommonAbstractTest {
> /** */
> @Test
> public void testDelete() throws Exception {
> IgniteCache<Object, Object> c = startGrid(0).createCache(new
> CacheConfiguration<>()
> .setName(DEFAULT_CACHE_NAME)
> .setAtomicityMode(CacheAtomicityMode.TRANSACTIONAL)
> );
> c.put(1, 1);
> try (Transaction tx = grid(0).transactions().txStart(OPTIMISTIC,
> READ_COMMITTED)) {
> c.invoke(1, new EntryProcessor<>() {
> @Override public Object process(MutableEntry<Object, Object>
> entry, Object... arguments) throws EntryProcessorException {
> entry.remove();
> return null;
> }
> });
> assertNull(c.get(1));
> }
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)