[ 
https://issues.apache.org/jira/browse/IGNITE-28117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Mishra updated IGNITE-28117:
-----------------------------------
    Summary:  Examples not self-contained - missing or broken setup/teardown 
causes state leakage  (was:  Examples not self-contained — missing or broken 
setup/teardown causes state leakage)

>  Examples not self-contained - missing or broken setup/teardown causes state 
> leakage
> ------------------------------------------------------------------------------------
>
>                 Key: IGNITE-28117
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28117
>             Project: Ignite
>          Issue Type: Improvement
>          Components: examples ai3
>            Reporter: Ashish Mishra
>            Assignee: Ashish Mishra
>            Priority: Major
>
> For an example to be self-contained, it must create all required resources 
> (tables, deployment units, caches, etc.) during setup and destroy them once 
> execution completes. Several examples are not following this contract — 
> teardown is either missing or not executing correctly, leaving behind 
> residual state.
> Impact:
> Failures when re-running an example on the same cluster without a reset
> State leakage between examples when run sequentially in ai3tests
> Unreliable cyclic stability testing
> Acceptance Criteria:
> Each example creates all required resources during setup and destroys them on 
> teardown
> Re-running the same example back-to-back on the same cluster succeeds
> ai3tests can run all examples sequentially without state leakage
> Affected examples: 
> java/org/apache/ignite/example/client/IgniteClientWithConfigExample.java
> java/org/apache/ignite/example/client/IgniteClientExample.java
> java/org/apache/ignite/example/storage/StorageEngineExample.java
> java/org/apache/ignite/example/table/MapperExample.java
> java/org/apache/ignite/example/table/TableExample.java
> java/org/apache/ignite/example/tx/TransactionsExample.java



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to