-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(sql): Test fix for incorrect running instances count in process … #4752
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 task
psavidis
force-pushed
the
SUPPORT-24279
branch
from
December 18, 2024 12:00
2151b08
to
df28120
Compare
Reviewer HintsAdded a test which verifies the correctness of statistics for the issue reproduction case
|
psavidis
added
ci:webapp-integration
Runs the webapp integration builds.
and removed
ci:all-db
Runs the builds for all databases.
labels
Dec 18, 2024
psavidis
added
ci:default-build
Runs the builds that have no explicit trigger (e.g. different history levels).
ci:h2
Runs the builds for the H2 database.
ci:run
Runs the integration tests for the Run distribution.
labels
Dec 18, 2024
psavidis
reviewed
Dec 19, 2024
...ssembly/src/main/resources/org/camunda/bpm/cockpit/plugin/base/queries/processDefinition.xml
Show resolved
Hide resolved
psavidis
reviewed
Dec 19, 2024
...mbly/src/test/java/org/camunda/bpm/cockpit/plugin/base/ProcessDefinitionRestServiceTest.java
Show resolved
Hide resolved
venetrius
approved these changes
Dec 19, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Verified that test would fail without the included query changes.
Really well written test case!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ci:default-build
Runs the builds that have no explicit trigger (e.g. different history levels).
ci:h2
Runs the builds for the H2 database.
ci:run
Runs the integration tests for the Run distribution.
ci:webapp-integration
Runs the webapp integration builds.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context: The query
selectPDStatistics
calculates the total processInstances wrong.Used-by:
ProcessDefinitionRestService#getStatisticsCount
Why: The group by
incidentType
part of the query should not be used for counting the total process instances.Tests: The commit adds a test which expects the correct statistics returned when process instances related to incidents with different types are used.
Related-to: https://jira.camunda.com/browse/SUPPORT-24279
#4756