[ 
https://issues.apache.org/jira/browse/IGNITE-16005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17449550#comment-17449550
 ] 

Mirza Aliev commented on IGNITE-16005:
--------------------------------------

[~slava.koptilin] Thank you for your effort! Changes look good to me!

> SqlExampleTest is flaky
> -----------------------
>
>                 Key: IGNITE-16005
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16005
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vyacheslav Koptilin
>            Assignee: Vyacheslav Koptilin
>            Priority: Blocker
>              Labels: ignite-3
>         Attachments: _Test_Run_Examples_50.log.zip
>
>
> SqlExampleTest fails with the following error:
> {noformat}
> [INFO] Running org.apache.ignite.example.sql.jdbc.SqlExamplesTest
> [ERROR] WARNING: An illegal reflective access operation has occurred
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 69.264 s <<< FAILURE! - in org.apache.ignite.example.sql.jdbc.SqlExamplesTest
> [ERROR] org.apache.ignite.example.sql.jdbc.SqlExamplesTest.testSqlJdbcExample 
>  Time elapsed: 69.241 s  <<< FAILURE!
>     org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
>     at 
> org.apache.ignite.example.sql.jdbc.SqlExamplesTest.testSqlJdbcExample(SqlExamplesTest.java:48)
> {noformat}
> Test just checks the output of SqlJdbcExample, which, in turn, prints 
> resultset provided by *"SELECT a.FIRST_NAME, a.LAST_NAME, a.BALANCE FROM 
> ACCOUNTS a WHERE a.BALANCE < 1500.0"*, for instance.
> The root cause of the issue is that the particular ordering is not 
> guaranteed. So, the ordering should be explicitly specified by *"ORDER BY"* 
> clause.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to