[JBoss JIRA] (ISPN-8478) Reduce build memory usage
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-8478?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero updated ISPN-8478:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Reduce build memory usage
> -------------------------
>
> Key: ISPN-8478
> URL: https://issues.jboss.org/browse/ISPN-8478
> Project: Infinispan
> Issue Type: Task
> Components: Build
> Affects Versions: 9.2.0.Alpha2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.2.0.Beta1
>
>
> The CI Maven process runs without a max heap parameter, so it can use up to 1/4 of agent RAM. It should run with a specific limit and so should all the other JVMs it spawns: the surefire fork, Karaf containers, WildFly servers etc.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (ISPN-8478) Reduce build memory usage
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-8478?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero updated ISPN-8478:
----------------------------------
Fix Version/s: 9.2.0.CR3
(was: 9.2.0.Beta1)
> Reduce build memory usage
> -------------------------
>
> Key: ISPN-8478
> URL: https://issues.jboss.org/browse/ISPN-8478
> Project: Infinispan
> Issue Type: Task
> Components: Build
> Affects Versions: 9.2.0.Alpha2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.2.0.CR3
>
>
> The CI Maven process runs without a max heap parameter, so it can use up to 1/4 of agent RAM. It should run with a specific limit and so should all the other JVMs it spawns: the surefire fork, Karaf containers, WildFly servers etc.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (ISPN-7011) @AfterClass cleanup doesn't work with @InTransactionMode or @InCacheMode
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-7011?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero updated ISPN-7011:
----------------------------------
Fix Version/s: 9.2.0.CR3
(was: 9.2.0.Final)
> @AfterClass cleanup doesn't work with @InTransactionMode or @InCacheMode
> ------------------------------------------------------------------------
>
> Key: ISPN-7011
> URL: https://issues.jboss.org/browse/ISPN-7011
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Minor
> Labels: testsuite_stability
> Fix For: 9.2.0.CR3
>
>
> Very much like ISPN-7003, TestNG's {{TestMethodWorker.invokeAfterClassMethods}} never sees an empty list of methods in {{m_classMethodMap}}. That happens because {{m_classMethodMap}} is populated before our {{ChainMethodInterceptor}} had a chance to filter the methods (e.g. when a test method has an {{@InTransactionMode}} annotation).
> Normally this is not a problem because each test has a different name, and the test suite tolerates some leaked managers. But when you run a test like {{PutForExternalReadTest}} with {{-Dtest.infinispan.shortTestName=true}}, you get this failure:
> {noformat}
> java.lang.IllegalStateException: Two tests with the same name running in parallel: test
> at org.infinispan.test.fwk.TestResourceTracker.testStarted(TestResourceTracker.java:88)
> at org.infinispan.test.AbstractInfinispanTest.testClassStarted(AbstractInfinispanTest.java:115)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
> at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (ISPN-8841) JCache
by Radim Vansa (JIRA)
Radim Vansa created ISPN-8841:
---------------------------------
Summary: JCache
Key: ISPN-8841
URL: https://issues.jboss.org/browse/ISPN-8841
Project: Infinispan
Issue Type: Bug
Components: JCache
Affects Versions: 9.2.0.CR2
Reporter: Radim Vansa
JCache does not respect {{ttl = null}} when updating an entry; {{view.set(value);}} resets entry lifespan to default value set in Infinispan configuration (immortal).
{code}
public void testPutPut(Method m) {
final MutableConfiguration<Integer, String>
cfg = new MutableConfiguration<Integer, String>();
cfg.setExpiryPolicyFactory(CreatedExpiryPolicy.factoryOf(new Duration(TimeUnit.SECONDS, 1)));
final String name = getName(m);
withCachingProvider(provider -> {
CacheManager cm = provider.getCacheManager();
Cache<Integer, String> cache = cm.createCache(name, cfg);
cache.put(1, "v1");
assertTrue(cache.containsKey(1));
assertEquals("v1", cache.get(1));
try {
Thread.sleep(1100);
} catch (InterruptedException e) {
assert false;
}
assertEquals(null, cache.get(1));
cache.put(1, "v2");
cache.put(1, "v3");
try {
Thread.sleep(1100);
} catch (InterruptedException e) {
assert false;
}
assertEquals(null, cache.get(1));
});
}
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month