Dan Berindei created ISPN-12731:
-----------------------------------
Summary: Cache collections and streams ignore values added in current
transaction
Key: ISPN-12731
URL:
https://issues.redhat.com/browse/ISPN-12731
Project: Infinispan
Issue Type: Bug
Components: Core, Streams
Affects Versions: 12.0.1.Final, 11.0.9.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 12.1.0.Final
This test fails, as the {{results}} list is empty:
{code:java}
public void testValuesIncludesEntriesNotYetCommitted() throws Exception {
Cache<Object, String> cache = cache(0, CACHE_NAME);
TransactionManager tm = tm(cache);
tm.begin();
try {
Map<Object, String> values = putValueInEachCache(3);
List<String> results = new ArrayList<>(cache.values());
assertEquals(values, results);
} finally {
tm.rollback();
}
}
{code}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)