Bug 1103304
| Summary: | testMemoryLeakWithMultiThread fails sometimes | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 6 | Reporter: | Peter Palaga <ppalaga> |
| Component: | Portal | Assignee: | Peter Palaga <ppalaga> |
| Status: | CLOSED UPSTREAM | QA Contact: | Tomas Kyjovsky <tkyjovsk> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | epp-bugs |
| Target Milestone: | ER04 | ||
| Target Release: | 6.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-02-10 03:35:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Peter Palaga
2014-05-30 16:55:05 UTC
Solved by removing the test case: https://github.com/gatein/gatein-portal/commit/6ff96e9f924688ce14ee88517e1e179961b6363c Justification by Trong (cited from https://issues.jboss.org/browse/GTNPORTAL-3500): The root problem is that it's using ConcurrentFIFOExoCache for holding resources temporarily. This test is to assert the cached objects size == max size BUT in the case of multi-threading, it can not be 100% sure that cacheSize == maxSize at any time as it needs a little time to execute the cache eviction. ===> for me, it's acceptable. Employee 'fkiss' has left the company. This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |