[
https://issues.apache.org/jira/browse/IGNITE-19627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mirza Aliev reassigned IGNITE-19627:
------------------------------------
Assignee: Mirza Aliev
> Fix ItReadOnlyTransactionTest failed tests
> ------------------------------------------
>
> Key: IGNITE-19627
> URL: https://issues.apache.org/jira/browse/IGNITE-19627
> Project: Ignite
> Issue Type: Bug
> Reporter: Mirza Aliev
> Assignee: Mirza Aliev
> Priority: Major
> Labels: ignite-3
>
> Tests from {{ItReadOnlyTransactionTest}} started to fail
> https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_IntegrationTests_ModuleRunner/7264289?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildProblemsSection=true&expandBuildChangesSection=true&expandBuildTestsSection=true
> {code:java}
> org.opentest4j.AssertionFailedError: Too long to execute [delay=306] ==>
> expected: <true> but was: <false>
> {code}
> {code:java}
> org.opentest4j.AssertionFailedError: expected: <str 100> but was: <new str
> 100>
> {code}
> The root cause is that the tests were sharing the same table, and when one
> test failed ({{testFutureRead}}), the second one ({{testPastRead}}) started
> to fail because table state was wrong. Previously the state of the table was
> cleaned at the tests itself, not in the {{@ AfterEach}} block.
> The {{testFutureRead()}} test failure was connected with the fact that test
> run was too slow and invariant for read from future was violated. I propose
> to increase a bit {{FUTURE_GAP}} -- the gap for read in future for RO tx.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)