-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Separate status from test case result #14049
Comments
@TeddyCr so there will be global status at test case level. How do we determine a test case is failed or not , if we are not going to use the testcase result a way of checking it? |
@harshach I was thinking to have a reference to the testCaseFailureStatus in the testCaseResult. Let me know if you are thinking otherwise. Basically, when we write a testCaseResult that failed, we check if the latest status is not I had this kind of relationship in mind Where the ID of the testCaseFailureStatus stays the same until we have it as resolved -- like below. Of course ID won't be incremental but UUID. now my initial thought was to keep the only 2 states that we have right in the threadTaskStatus |
@TeddyCr what happens if the test case is failed with false positives or some temporary issue. Lets say after 2 more runs its turned to green automatically without user doing anything, will this handle that case? Instead of calling testCaseResultFailureStatus -> should we call it as testCaseResultStatus. Why not store the current status? |
@harshach what do you mean by this ^?
|
#14204) * refactor: entityFQN as ListFilter condition * feat: implement resolution entity timeseries * fix: rename to testCaseResolutionStatus * ref: extracted ES query builder into private method * ref: extract OS query builder in its own method * ref: remove ingestion logic for test case resolution * fix: reorganize json schemas to fix circular import in Python * ref: object names in typescript code * feat: added indexing of test case resolution * feat: added test case resolution sample data * fix: test case resolution api logic * fix: audit logger for entityTimeSeriesInterface * fix: DDL generation * style: python linting * fix: skip UI test case resolution tests * fix: remove extension field * fix: renamed testCaseFailureStatus to testCaseResolutionStatus * fix: remove reviewer * fix: rename sequenceId to stateId * fix: re adjust search weights * fix: removed InReview status * style: ran python linting
…st case result (open-metadata#14204) * refactor: entityFQN as ListFilter condition * feat: implement resolution entity timeseries * fix: rename to testCaseResolutionStatus * ref: extracted ES query builder into private method * ref: extract OS query builder in its own method * ref: remove ingestion logic for test case resolution * fix: reorganize json schemas to fix circular import in Python * ref: object names in typescript code * feat: added indexing of test case resolution * feat: added test case resolution sample data * fix: test case resolution api logic * fix: audit logger for entityTimeSeriesInterface * fix: DDL generation * style: python linting * fix: skip UI test case resolution tests * fix: remove extension field * fix: renamed testCaseFailureStatus to testCaseResolutionStatus * fix: remove reviewer * fix: rename sequenceId to stateId * fix: re adjust search weights * fix: removed InReview status * style: ran python linting
Context
Failure status is currently stored alongside a
testCaseResult
. For each failure a new failure status is created and stored with thetestCaseResult
-- see below.OpenMetadata/openmetadata-spec/src/main/resources/json/schema/tests/basic.json
Lines 89 to 150 in d551005
To prevent re writing the test case failure status to a testCaseResult, we'll be separating failure status as their own entities and link it to a testCaseResult (if status of testCaseResult if different than resolved).
A.C.
assign
andreview
statusesThe text was updated successfully, but these errors were encountered: