-
Notifications
You must be signed in to change notification settings - Fork 640
Closed
Closed
Copy link
Labels
Description
Describe the bug
FootprintIT tests fail when Infinispan is built with insights
profile due to inclusion of infinispan-insights
client jar. When the profile is activated or ideally when the project was built with the profile activated the test would take add an offset to expected results.
Here are size comparisons with and without the profile activated:
# FootPrintIT - no profile
-----------------------------
========== DISK Footprint: 75954300
========== CLASS Footprint: 12001
========== MEMORY Footprint: 27123480
# FootPrintIT - release-mode=downstream
-----------------------------
========== DISK Footprint: 76019809
========== CLASS Footprint: 12083
========== MEMORY Footprint: 27130920
Expected behavior
Test will pass
Actual behavior
Tests fail.
main:
[ERROR] Failures:
[ERROR] FootprintIT.testDiskFootprint:78 [Disk footprint]
Expecting actual:
76019809L
to be between:
[74000000L, 76000000L]
15.0.x:
[Loaded class count]
Expecting actual:
11465
to be between:
[11200, 11400]
[Disk footprint]
Expecting actual:
70009897L
to be between:
[69000000L, 70000000L]
How to Reproduce?
mvn clean install -Drelease-mode=downstream -DskipTests -s maven-settings.xml
mvn verify -Dit.test=FootprintIT -pl server/tests
Output of uname -a
or ver
No response
Output of java -version
No response
Infinispan version or git rev
No response
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response