[
https://issues.apache.org/jira/browse/PHOENIX-8098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Kyle Purtell updated PHOENIX-8098:
-----------------------------------------
Description:
{{ParallelPhoenixConnectionFailureTest.testExecuteQueryChainFailure}} fails:
{{Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.577 s <<<
FAILURE! – in org.apache.phoenix.jdbc.ParallelPhoenixConnectionFailureTest}}
{{org.apache.phoenix.jdbc.ParallelPhoenixConnectionFailureTest.testExecuteQueryChainFailure
– Time elapsed: 0.571 s <<< FAILURE!}}
{{java.lang.AssertionError}}
{{at org.junit.Assert.fail(Assert.java:87)}}
{{at org.junit.Assert.assertTrue(Assert.java:42)}}
{{at org.junit.Assert.assertTrue(Assert.java:53)}}
{{at
org.apache.phoenix.jdbc.ParallelPhoenixConnectionFailureTest.testExecuteQueryChainFailure(ParallelPhoenixConnectionFailureTest.java:91)}}
The test reads the state of an asynchronous chain at once, but nothing makes
sure that the chain has run. There is also a second, related race.
This is a test race, not a product defect.
was:
{{ParallelPhoenixConnectionFailureTest.testExecuteQueryChainFailure}} fails:
{{Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.577 s <<<
FAILURE! -- in org.apache.phoenix.jdbc.ParallelPhoenixConnectionFailureTest
org.apache.phoenix.jdbc.ParallelPhoenixConnectionFailureTest.testExecuteQueryChainFailure
-- Time elapsed: 0.571 s <<< FAILURE!
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:87)
at org.junit.Assert.assertTrue(Assert.java:42)
at org.junit.Assert.assertTrue(Assert.java:53)
at
org.apache.phoenix.jdbc.ParallelPhoenixConnectionFailureTest.testExecuteQueryChainFailure(ParallelPhoenixConnectionFailureTest.java:91)}}
The test reads the state of an asynchronous chain at once, but nothing makes
sure that the chain has run. There is also a second, related race.
This is a test race, not a product defect.
> Fix race in ParallelPhoenixConnectionFailureTest
> ------------------------------------------------
>
> Key: PHOENIX-8098
> URL: https://issues.apache.org/jira/browse/PHOENIX-8098
> Project: Phoenix
> Issue Type: Test
> Components: test
> Affects Versions: 5.3.2
> Reporter: Andrew Kyle Purtell
> Assignee: Andrew Kyle Purtell
> Priority: Minor
> Fix For: 5.4.0, 5.3.3
>
>
> {{ParallelPhoenixConnectionFailureTest.testExecuteQueryChainFailure}} fails:
> {{Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.577 s <<<
> FAILURE! – in org.apache.phoenix.jdbc.ParallelPhoenixConnectionFailureTest}}
> {{org.apache.phoenix.jdbc.ParallelPhoenixConnectionFailureTest.testExecuteQueryChainFailure
> – Time elapsed: 0.571 s <<< FAILURE!}}
> {{java.lang.AssertionError}}
> {{at org.junit.Assert.fail(Assert.java:87)}}
> {{at org.junit.Assert.assertTrue(Assert.java:42)}}
> {{at org.junit.Assert.assertTrue(Assert.java:53)}}
> {{at
> org.apache.phoenix.jdbc.ParallelPhoenixConnectionFailureTest.testExecuteQueryChainFailure(ParallelPhoenixConnectionFailureTest.java:91)}}
> The test reads the state of an asynchronous chain at once, but nothing makes
> sure that the chain has run. There is also a second, related race.
> This is a test race, not a product defect.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)