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

Sergey Nuyanzin commented on FLINK-33727:
-----------------------------------------

{quote}
I'm pretty sure that if you removed the run SQL, that'd be like removing the 
section in a JUnit test function which does anything and then asserts that it 
works.  (That'd explain why the tests pass without it.)
{quote}
I don't understand it

as another experiment I just changed SQL to the wrong SQL with syntax error, 
however tests are continuing passing. Is it expected?
Then it's is not clear what is the reason to have it and how to check that it 
tests what it is expected to test?

{quote}
If you are looking to sort things immediately, I'd suggest adding `Disabled` to 
`testRestore` here: 
https://github.com/apache/flink/blob/master/flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/plan/nodes/exec/testutils/RestoreTestBase.java#L229
{quote}
what is wrong with current PR for this JIRA?

> JoinRestoreTest is failing on AZP
> ---------------------------------
>
>                 Key: FLINK-33727
>                 URL: https://issues.apache.org/jira/browse/FLINK-33727
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>    Affects Versions: 1.19.0
>            Reporter: Sergey Nuyanzin
>            Priority: Critical
>              Labels: pull-request-available, test-stability
>
> Since {{JoinRestoreTest}} was introduced in FLINK-33470 it seems to be a 
> reason
> {noformat}
> Dec 02 04:42:26 04:42:26.408 [ERROR] Failures: 
> Dec 02 04:42:26 04:42:26.408 [ERROR]   
> JoinRestoreTest>RestoreTestBase.testRestore:283 
> Dec 02 04:42:26 Expecting actual:
> Dec 02 04:42:26   ["+I[9, carol, apple, 9000]",
> Dec 02 04:42:26     "+I[8, bill, banana, 8000]",
> Dec 02 04:42:26     "+I[6, jerry, pen, 6000]"]
> Dec 02 04:42:26 to contain exactly in any order:
> Dec 02 04:42:26   ["+I[Adam, null]",
> Dec 02 04:42:26     "+I[Baker, Research]",
> Dec 02 04:42:26     "+I[Charlie, Human Resources]",
> Dec 02 04:42:26     "+I[Charlie, HR]",
> Dec 02 04:42:26     "+I[Don, Sales]",
> Dec 02 04:42:26     "+I[Victor, null]",
> Dec 02 04:42:26     "+I[Helena, Engineering]",
> Dec 02 04:42:26     "+I[Juliet, Engineering]",
> Dec 02 04:42:26     "+I[Ivana, Research]",
> Dec 02 04:42:26     "+I[Charlie, People Operations]"]
> {noformat}
> examples of failures
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=55120&view=logs&j=0c940707-2659-5648-cbe6-a1ad63045f0a&t=075c2716-8010-5565-fe08-3c4bb45824a4&l=12099
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=55129&view=logs&j=a9db68b9-a7e0-54b6-0f98-010e0aff39e2&t=cdd32e0b-6047-565b-c58f-14054472f1be&l=11786
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=55136&view=logs&j=0c940707-2659-5648-cbe6-a1ad63045f0a&t=075c2716-8010-5565-fe08-3c4bb45824a4&l=12099
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=55137&view=logs&j=0c940707-2659-5648-cbe6-a1ad63045f0a&t=075c2716-8010-5565-fe08-3c4bb45824a4&l=11779



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

Reply via email to