Bug 1025296
Summary: | Delay of KieScanner is more than expected | ||
---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Tomas David <tdavid> |
Component: | BRE | Assignee: | Mario Fusco <mfusco> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Tomas David <tdavid> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0.0 | ||
Target Milestone: | ER6 | ||
Target Release: | 6.0.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-06 20:17:27 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
Tomas David
2013-10-31 12:23:56 UTC
I believe the test is wrong because the timer is started before deploying the new artifact into the maven repository while in my opinion it should start after that. Doing so the test succeeds as expected. Moreover running this test made me discover a regression that has been caused by the introduction of incremental compilation. This issue didn't exist (as the incremental compilation feature) when this ticket has been opened. I reported this problem here https://bugzilla.redhat.com/show_bug.cgi?id=1033612 and already fixed it. So "kieScanner.start(500)" means: After deploying the new artifact into the maven repository, kieScanner waits 500ms and then kieSession works with new artifact? I thought that kieScanner checks if there is some new artifact every 500ms from start. No, but starting the timer before the deploy means that you're also counting the time consumed by the deployment process and this is way the final result is greater than expected. Thank you. I updated my tests. Verified on BRMS 6.0.0.ER7. |