[
https://issues.apache.org/jira/browse/IGNITE-9130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16563776#comment-16563776
]
ASF GitHub Bot commented on IGNITE-9130:
----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/ignite/pull/4458
> ZookeeperDiscoverySpiTest#testDuplicatedNodeId fails
> ----------------------------------------------------
>
> Key: IGNITE-9130
> URL: https://issues.apache.org/jira/browse/IGNITE-9130
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.6
> Reporter: Vitaliy Biryukov
> Assignee: Vitaliy Biryukov
> Priority: Major
> Labels: MakeTeamcityGreenAgain
> Fix For: 2.7
>
>
> Fail:
> {noformat}
> junit.framework.AssertionFailedError
> at junit.framework.Assert.fail(Assert.java:55)
> at junit.framework.Assert.assertTrue(Assert.java:22)
> at junit.framework.Assert.assertNotNull(Assert.java:256)
> at junit.framework.Assert.assertNotNull(Assert.java:248)
> at junit.framework.TestCase.assertNotNull(TestCase.java:417)
> at
> org.apache.ignite.spi.discovery.zk.internal.ZookeeperDiscoverySpiTest.testDuplicatedNodeId(ZookeeperDiscoverySpiTest.java:2565)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at junit.framework.TestCase.runTest(TestCase.java:176)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2087)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:140)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:2002)
> at java.lang.Thread.run(Thread.java:748)
> {noformat}
> A new error that throws instead of the old one:
> {noformat}
> Caused by: org.h2.jdbc.JdbcSQLException: Table "NODES" already exists; SQL
> statement:
> CREATE TABLE NODES(ID UUID, CONSISTENT_ID VARCHAR, VERSION VARCHAR, IS_LOCAL
> BOOLEAN, IS_CLIENT BOOLEAN, IS_DAEMON BOOLEAN, NODE_ORDER INTEGER, ADDRESSES
> VARCHAR, HOSTNAMES VARCHAR) ENGINE
> "org.apache.ignite.internal.processors.query.h2.sys.SqlSystemTableEngine"
> [42101-195]
> at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
> at org.h2.message.DbException.get(DbException.java:179)
> at org.h2.message.DbException.get(DbException.java:155)
> at org.h2.command.ddl.CreateTable.update(CreateTable.java:117)
> at org.h2.command.CommandContainer.update(CommandContainer.java:101)
> at org.h2.command.Command.executeUpdate(Command.java:260)
> at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:193)
> at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:165)
> at
> org.apache.ignite.internal.processors.query.h2.sys.SqlSystemTableEngine.registerView(SqlSystemTableEngine.java:48)
> at
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.start(IgniteH2Indexing.java:2608)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)