You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Mujtaba Chohan (JIRA)" <ji...@apache.org> on 2017/09/13 23:53:00 UTC
[jira] [Resolved] (PHOENIX-4197) Issue with creating multiple
sequences
[ https://issues.apache.org/jira/browse/PHOENIX-4197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mujtaba Chohan resolved PHOENIX-4197.
-------------------------------------
Resolution: Not A Problem
This works with your change [~jamestaylor]. After this, now uncovering that there are a couple of other tweaks needed in SequenceIT and SequenceBulkAllocationIT tests for which I'll work on updating those patches.
> Issue with creating multiple sequences
> --------------------------------------
>
> Key: PHOENIX-4197
> URL: https://issues.apache.org/jira/browse/PHOENIX-4197
> Project: Phoenix
> Issue Type: Bug
> Reporter: Mujtaba Chohan
> Attachments: SeqIT.java
>
>
> [~jamestaylor] Please see the attached test. If I drop any prior sequences then the test passes fine i.e. un-comment {{conn.createStatement().execute("DROP SEQUENCE BEFORE_TEST");}} then this test passes otherwise it fails with:
> {noformat}
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertFalse(Assert.java:64)
> at org.junit.Assert.assertFalse(Assert.java:74)
> at org.apache.phoenix.end2end.SequenceIT.assertSequenceValuesForSingleRow(SequenceIT.java:88)
> at org.apache.phoenix.end2end.SequenceIT.testSequenceDefault(SequenceIT.java:73)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)