[
https://issues.apache.org/jira/browse/IGNITE-20137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denis Chudov reassigned IGNITE-20137:
-------------------------------------
Assignee: Denis Chudov (was: Alexander Lapin)
> testOneNodeRestartWithGap's assert throws TransactionException is failed
> ------------------------------------------------------------------------
>
> Key: IGNITE-20137
> URL: https://issues.apache.org/jira/browse/IGNITE-20137
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Alexey Scherbakov
> Assignee: Denis Chudov
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0
>
>
> *Description*
> With unchanged code there 2 ways to fail, both in the same assert that waits
> {{TransactionException}} to be thrown:
> # assert returns false because there is no any thrown exception;
> # assert returns false because the caught exception is timeout with
> {{{}PrimaryReplicaAwaitTimeoutException{}}}.
> We could remove the assert and fix the follow line:
> {code:java}
> TableManager tableManager = unwrapTableManager(ignite1.tables());{code}
> {color:#383838}Without unwrapping there will be {{{}ClassCastException{}}}.
> With this 2 changes the test will pass with 100% rate.{color}
>
> *What to fix*
> Probably, the assert should be left, but the issue needs an investigation:
> why there 2 reasons of fail and what exactly do we expect there?
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)