Closed cajunesque closed 9 years ago
Hi Mark,
This component was originally developed to be integrated in the Apache Camel Distribution components folder. While I was developing the component, another one component, similar to this, was integrated in Camel.
The pom was based on the Camel component example. I've tweaked the pom.xml and committed a new version to make the component standalone. Please let me know if everything is ok.
Feel free to testing, submitting PR and adding new features.
Thank you very much.
Bye, Andrea
Actually I'm writing a good documentation.
More important than the documentation would probably be the tests, I think. Your new master builds fine -- bravissimo. But the tests all fail. :-( Would you like my console output to see what I mean?
Locally everything works fine. Would you please attach the log of mvn tests? Thank you.
Andrea Il 11/gen/2015 20:13 "cajunesque" notifications@github.com ha scritto:
More important than the documentation would probably be the tests, I think. Your new master builds fine -- bravissimo. But the tests all fail. :-(
— Reply to this email directly or view it on GitHub https://github.com/oscerd/camel-cassandra/issues/1#issuecomment-69506662 .
Do you have an email for the attachment (zipped archive of the surefire tests)? I cannot attach them in the issue, only images.
Running com.github.oscerd.camel.component.cassandra.CassandraBatchInsertTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.359 sec - in com.github.oscerd.camel.component.cassandra.CassandraBatchInsertTest Running com.github.oscerd.camel.component.cassandra.CassandraConsumerTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.161 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraConsumerTest testConsume(com.github.oscerd.camel.component.cassandra.CassandraConsumerTest) Time elapsed: 14.029 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ... Running com.github.oscerd.camel.component.cassandra.CassandraDecrementTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.734 sec - in com.github.oscerd.camel.component.cassandra.CassandraDecrementTest Running com.github.oscerd.camel.component.cassandra.CassandraDeleteColumnWhereTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.465 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraDeleteColumnWhereTest testDeleteColumnWhere(com.github.oscerd.camel.component.cassandra.CassandraDeleteColumnWhereTest) Time elapsed: 14.322 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ... Running com.github.oscerd.camel.component.cassandra.CassandraDeleteWhereTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.533 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraDeleteWhereTest testDelete(com.github.oscerd.camel.component.cassandra.CassandraDeleteWhereTest) Time elapsed: 14.372 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ... Running com.github.oscerd.camel.component.cassandra.CassandraIncrementTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.628 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraIncrementTest testIncrementCounter(com.github.oscerd.camel.component.cassandra.CassandraIncrementTest) Time elapsed: 19.493 sec <<< FAILURE! java.lang.AssertionError: expected:<2> but was:<6> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:555) at org.junit.Assert.assertEquals(Assert.java:542) at com.github.oscerd.camel.component.cassandra.CassandraIncrementTest.testIncrementCounter(CassandraIncrementTest.java:63)
Running com.github.oscerd.camel.component.cassandra.CassandraInsertTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.463 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraInsertTest testInsert(com.github.oscerd.camel.component.cassandra.CassandraInsertTest) Time elapsed: 14.327 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ... Running com.github.oscerd.camel.component.cassandra.CassandraPlainQueryTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.459 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraPlainQueryTest testPlainQuery(com.github.oscerd.camel.component.cassandra.CassandraPlainQueryTest) Time elapsed: 14.323 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ... Running com.github.oscerd.camel.component.cassandra.CassandraSelectAllTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.482 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraSelectAllTest testInsert(com.github.oscerd.camel.component.cassandra.CassandraSelectAllTest) Time elapsed: 14.34 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ... Running com.github.oscerd.camel.component.cassandra.CassandraSelectAllWhereTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.517 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraSelectAllWhereTest testSelectWhere(com.github.oscerd.camel.component.cassandra.CassandraSelectAllWhereTest) Time elapsed: 14.371 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ...
Running com.github.oscerd.camel.component.cassandra.CassandraSelectColumnTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.584 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraSelectColumnTest testSelectColumn(com.github.oscerd.camel.component.cassandra.CassandraSelectColumnTest) Time elapsed: 14.447 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ...
Running com.github.oscerd.camel.component.cassandra.CassandraSelectColumnWhereTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.51 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraSelectColumnWhereTest testSelectWhere(com.github.oscerd.camel.component.cassandra.CassandraSelectColumnWhereTest) Time elapsed: 14.37 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ...
Running com.github.oscerd.camel.component.cassandra.CassandraUpdateTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.535 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraUpdateTest testUpdate(com.github.oscerd.camel.component.cassandra.CassandraUpdateTest) Time elapsed: 14.378 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ...
Results :
Failed tests: CassandraIncrementTest.testIncrementCounter:63->Assert.assertEquals:542->Assert.assertEquals:555->Assert.assertEquals:118->Assert.failNotEquals:743->Assert.fail:88 expected:<2> but was:<6>
Tests in error: CassandraConsumerTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraDeleteColumnWhereTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraDeleteWhereTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraInsertTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraPlainQueryTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraSelectAllTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraSelectAllWhereTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraSelectColumnTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraSelectColumnWhereTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraUpdateTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery
It seems strange. Farsandra create a cassandra instance, a keyspace, a table and two indexes on top of every test class. In your log I can see that index already exists from the first test.. Locally I pass all tests without errors. I need to investigate a little more. Il 11/gen/2015 22:36 "cajunesque" notifications@github.com ha scritto:
Here are the results (truncated stack traces) from the console in the meantime: T E S T S
Running com.github.oscerd.camel.component.cassandra.CassandraBatchInsertTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.359 sec
- in com.github.oscerd.camel.component.cassandra.CassandraBatchInsertTest Running com.github.oscerd.camel.component.cassandra.CassandraConsumerTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.161 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraConsumerTest testConsume(com.github.oscerd.camel.component.cassandra.CassandraConsumerTest) Time elapsed: 14.029 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ... Running com.github.oscerd.camel.component.cassandra.CassandraDecrementTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.734 sec
- in com.github.oscerd.camel.component.cassandra.CassandraDecrementTest Running com.github.oscerd.camel.component.cassandra.CassandraDeleteColumnWhereTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.465 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraDeleteColumnWhereTest testDeleteColumnWhere(com.github.oscerd.camel.component.cassandra.CassandraDeleteColumnWhereTest) Time elapsed: 14.322 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ... Running com.github.oscerd.camel.component.cassandra.CassandraDeleteWhereTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.533 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraDeleteWhereTest testDelete(com.github.oscerd.camel.component.cassandra.CassandraDeleteWhereTest) Time elapsed: 14.372 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ... Running com.github.oscerd.camel.component.cassandra.CassandraIncrementTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.628 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraIncrementTest testIncrementCounter(com.github.oscerd.camel.component.cassandra.CassandraIncrementTest) Time elapsed: 19.493 sec <<< FAILURE! java.lang.AssertionError: expected: but was: at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:555) at org.junit.Assert.assertEquals(Assert.java:542) at com.github.oscerd.camel.component.cassandra.CassandraIncrementTest.testIncrementCounter(CassandraIncrementTest.java:63)
Running com.github.oscerd.camel.component.cassandra.CassandraInsertTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.463 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraInsertTest testInsert(com.github.oscerd.camel.component.cassandra.CassandraInsertTest) Time elapsed: 14.327 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ... Running com.github.oscerd.camel.component.cassandra.CassandraPlainQueryTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.459 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraPlainQueryTest testPlainQuery(com.github.oscerd.camel.component.cassandra.CassandraPlainQueryTest) Time elapsed: 14.323 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ... Running com.github.oscerd.camel.component.cassandra.CassandraSelectAllTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.482 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraSelectAllTest testInsert(com.github.oscerd.camel.component.cassandra.CassandraSelectAllTest) Time elapsed: 14.34 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ... Running com.github.oscerd.camel.component.cassandra.CassandraSelectAllWhereTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.517 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraSelectAllWhereTest testSelectWhere(com.github.oscerd.camel.component.cassandra.CassandraSelectAllWhereTest) Time elapsed: 14.371 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ...
Running com.github.oscerd.camel.component.cassandra.CassandraSelectColumnTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.584 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraSelectColumnTest testSelectColumn(com.github.oscerd.camel.component.cassandra.CassandraSelectColumnTest) Time elapsed: 14.447 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ...
Running com.github.oscerd.camel.component.cassandra.CassandraSelectColumnWhereTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.51 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraSelectColumnWhereTest testSelectWhere(com.github.oscerd.camel.component.cassandra.CassandraSelectColumnWhereTest) Time elapsed: 14.37 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ...
Running com.github.oscerd.camel.component.cassandra.CassandraUpdateTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.535 sec <<< FAILURE! - in com.github.oscerd.camel.component.cassandra.CassandraUpdateTest testUpdate(com.github.oscerd.camel.component.cassandra.CassandraUpdateTest) Time elapsed: 14.378 sec <<< ERROR! com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) ... Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Index already exists at com.datastax.driver.core.Responses$Error.asException(Responses.java:97) ...
Results :
Failed tests: CassandraIncrementTest.testIncrementCounter:63->Assert.assertEquals:542->Assert.assertEquals:555->Assert.assertEquals:118->Assert.failNotEquals:743->Assert.fail:88 expected: but was:
Tests in error: CassandraConsumerTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraDeleteColumnWhereTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraDeleteWhereTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraInsertTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraPlainQueryTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraSelectAllTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraSelectAllWhereTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraSelectColumnTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraSelectColumnWhereTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery CassandraUpdateTest>CamelTestSupport.setUp:218->CassandraBaseTest.doPostSetup:87 » InvalidQuery
— Reply to this email directly or view it on GitHub https://github.com/oscerd/camel-cassandra/issues/1#issuecomment-69512696 .
if i can help with anything, let me know.
I've executed tests on two different machines (Ubuntu 14.04 and 14.10) and everything was ok. I really don't understand.
~/git_repo/camel-cassandra$ mvn test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: Cassandra 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-core/2.14.1/camel-core-2.14.1.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-core/2.14.1/camel-core-2.14.1.pom (27 KB at 15.3 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-parent/2.14.1/camel-parent-2.14.1.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-parent/2.14.1/camel-parent-2.14.1.pom (114 KB at 229.2 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel/2.14.1/camel-2.14.1.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel/2.14.1/camel-2.14.1.pom (23 KB at 86.0 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/com/datastax/cassandra/cassandra-driver-core/2.1.1/cassandra-driver-core-2.1.1.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/com/datastax/cassandra/cassandra-driver-core/2.1.1/cassandra-driver-core-2.1.1.pom (10 KB at 5.8 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/com/datastax/cassandra/cassandra-driver-parent/2.1.1/cassandra-driver-parent-2.1.1.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/com/datastax/cassandra/cassandra-driver-parent/2.1.1/cassandra-driver-parent-2.1.1.pom (5 KB at 17.2 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/com/codahale/metrics/metrics-core/3.0.2/metrics-core-3.0.2.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/com/codahale/metrics/metrics-core/3.0.2/metrics-core-3.0.2.pom (845 B at 0.9 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/com/codahale/metrics/metrics-parent/3.0.2/metrics-parent-3.0.2.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/com/codahale/metrics/metrics-parent/3.0.2/metrics-parent-3.0.2.pom (11 KB at 24.8 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/io/teknek/farsandra/0.0.6/farsandra-0.0.6.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/io/teknek/farsandra/0.0.6/farsandra-0.0.6.pom (6 KB at 5.7 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/commons/commons-compress/1.6/commons-compress-1.6.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/commons/commons-compress/1.6/commons-compress-1.6.pom (11 KB at 5.9 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/tukaani/xz/1.4/xz-1.4.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/tukaani/xz/1.4/xz-1.4.pom (2 KB at 1.6 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-test/2.14.1/camel-test-2.14.1.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-test/2.14.1/camel-test-2.14.1.pom (2 KB at 4.2 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/components/2.14.1/components-2.14.1.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/components/2.14.1/components-2.14.1.pom (10 KB at 29.4 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/slf4j/slf4j-log4j12/1.7.9/slf4j-log4j12-1.7.9.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/slf4j/slf4j-log4j12/1.7.9/slf4j-log4j12-1.7.9.pom (2 KB at 1.3 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/slf4j/slf4j-parent/1.7.9/slf4j-parent-1.7.9.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/slf4j/slf4j-parent/1.7.9/slf4j-parent-1.7.9.pom (13 KB at 32.9 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/slf4j/slf4j-api/1.7.9/slf4j-api-1.7.9.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/slf4j/slf4j-api/1.7.9/slf4j-api-1.7.9.pom (3 KB at 4.7 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-test-spring/2.14.1/camel-test-spring-2.14.1.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-test-spring/2.14.1/camel-test-spring-2.14.1.pom (4 KB at 11.5 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-spring/2.14.1/camel-spring-2.14.1.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-spring/2.14.1/camel-spring-2.14.1.pom (21 KB at 45.9 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-context/3.2.11.RELEASE/spring-context-3.2.11.RELEASE.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-context/3.2.11.RELEASE/spring-context-3.2.11.RELEASE.pom (5 KB at 12.3 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-aop/3.2.11.RELEASE/spring-aop-3.2.11.RELEASE.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-aop/3.2.11.RELEASE/spring-aop-3.2.11.RELEASE.pom (3 KB at 7.4 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-beans/3.2.11.RELEASE/spring-beans-3.2.11.RELEASE.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-beans/3.2.11.RELEASE/spring-beans-3.2.11.RELEASE.pom (2 KB at 11.4 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-core/3.2.11.RELEASE/spring-core-3.2.11.RELEASE.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-core/3.2.11.RELEASE/spring-core-3.2.11.RELEASE.pom (3 KB at 5.9 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-expression/3.2.11.RELEASE/spring-expression-3.2.11.RELEASE.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-expression/3.2.11.RELEASE/spring-expression-3.2.11.RELEASE.pom (2 KB at 5.1 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-tx/3.2.11.RELEASE/spring-tx-3.2.11.RELEASE.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-tx/3.2.11.RELEASE/spring-tx-3.2.11.RELEASE.pom (4 KB at 10.6 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-test/4.0.7.RELEASE/spring-test-4.0.7.RELEASE.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-test/4.0.7.RELEASE/spring-test-4.0.7.RELEASE.pom (7 KB at 3.9 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-core/4.0.7.RELEASE/spring-core-4.0.7.RELEASE.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-core/4.0.7.RELEASE/spring-core-4.0.7.RELEASE.pom (3 KB at 5.8 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-context/4.0.7.RELEASE/spring-context-4.0.7.RELEASE.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-context/4.0.7.RELEASE/spring-context-4.0.7.RELEASE.pom (5 KB at 6.3 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-aop/4.0.7.RELEASE/spring-aop-4.0.7.RELEASE.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-aop/4.0.7.RELEASE/spring-aop-4.0.7.RELEASE.pom (3 KB at 6.4 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-beans/4.0.7.RELEASE/spring-beans-4.0.7.RELEASE.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-beans/4.0.7.RELEASE/spring-beans-4.0.7.RELEASE.pom (3 KB at 6.4 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-expression/4.0.7.RELEASE/spring-expression-4.0.7.RELEASE.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-expression/4.0.7.RELEASE/spring-expression-4.0.7.RELEASE.pom (2 KB at 8.8 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-tx/4.0.7.RELEASE/spring-tx-4.0.7.RELEASE.pom
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-tx/4.0.7.RELEASE/spring-tx-4.0.7.RELEASE.pom (4 KB at 7.1 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-core/2.14.1/camel-core-2.14.1.jar
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/com/datastax/cassandra/cassandra-driver-core/2.1.1/cassandra-driver-core-2.1.1.jar
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/com/codahale/metrics/metrics-core/3.0.2/metrics-core-3.0.2.jar
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/io/teknek/farsandra/0.0.6/farsandra-0.0.6.jar
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/commons/commons-compress/1.6/commons-compress-1.6.jar
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/io/teknek/farsandra/0.0.6/farsandra-0.0.6.jar (16 KB at 61.7 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/tukaani/xz/1.4/xz-1.4.jar
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/com/codahale/metrics/metrics-core/3.0.2/metrics-core-3.0.2.jar (84 KB at 91.1 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-test/2.14.1/camel-test-2.14.1.jar
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/commons/commons-compress/1.6/commons-compress-1.6.jar (306 KB at 249.9 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/slf4j/slf4j-log4j12/1.7.9/slf4j-log4j12-1.7.9.jar
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-test/2.14.1/camel-test-2.14.1.jar (44 KB at 112.1 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-test-spring/2.14.1/camel-test-spring-2.14.1.jar
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/tukaani/xz/1.4/xz-1.4.jar (97 KB at 92.0 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-spring/2.14.1/camel-spring-2.14.1.jar
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-core/2.14.1/camel-core-2.14.1.jar (2733 KB at 1186.7 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-test/4.0.7.RELEASE/spring-test-4.0.7.RELEASE.jar
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/slf4j/slf4j-log4j12/1.7.9/slf4j-log4j12-1.7.9.jar (9 KB at 7.3 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-context/4.0.7.RELEASE/spring-context-4.0.7.RELEASE.jar
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-test-spring/2.14.1/camel-test-spring-2.14.1.jar (49 KB at 43.4 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-beans/4.0.7.RELEASE/spring-beans-4.0.7.RELEASE.jar
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/com/datastax/cassandra/cassandra-driver-core/2.1.1/cassandra-driver-core-2.1.1.jar (592 KB at 230.2 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-expression/4.0.7.RELEASE/spring-expression-4.0.7.RELEASE.jar
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-expression/4.0.7.RELEASE/spring-expression-4.0.7.RELEASE.jar (201 KB at 598.7 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-aop/4.0.7.RELEASE/spring-aop-4.0.7.RELEASE.jar
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-beans/4.0.7.RELEASE/spring-beans-4.0.7.RELEASE.jar (655 KB at 825.5 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-tx/4.0.7.RELEASE/spring-tx-4.0.7.RELEASE.jar
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/apache/camel/camel-spring/2.14.1/camel-spring-2.14.1.jar (250 KB at 131.4 KB/sec)
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-context/4.0.7.RELEASE/spring-context-4.0.7.RELEASE.jar (956 KB at 1201.6 KB/sec)
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-test/4.0.7.RELEASE/spring-test-4.0.7.RELEASE.jar (439 KB at 483.4 KB/sec)
Downloading: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-core/4.0.7.RELEASE/spring-core-4.0.7.RELEASE.jar
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-aop/4.0.7.RELEASE/spring-aop-4.0.7.RELEASE.jar (345 KB at 618.6 KB/sec)
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-tx/4.0.7.RELEASE/spring-tx-4.0.7.RELEASE.jar (243 KB at 734.9 KB/sec)
Downloaded: http://192.168.52.121:8081/nexus/content/groups/public/org/springframework/spring-core/4.0.7.RELEASE/spring-core-4.0.7.RELEASE.jar (955 KB at 1598.8 KB/sec)
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ camel-cassandra ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ camel-cassandra ---
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler-api/2.4/plexus-compiler-api-2.4.pom
Downloaded: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler-api/2.4/plexus-compiler-api-2.4.pom (865 B at 0.7 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler/2.4/plexus-compiler-2.4.pom
Downloaded: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler/2.4/plexus-compiler-2.4.pom (6 KB at 8.7 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler-manager/2.4/plexus-compiler-manager-2.4.pom
Downloaded: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler-manager/2.4/plexus-compiler-manager-2.4.pom (690 B at 1.1 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler-javac/2.4/plexus-compiler-javac-2.4.pom
Downloaded: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler-javac/2.4/plexus-compiler-javac-2.4.pom (769 B at 1.3 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compilers/2.4/plexus-compilers-2.4.pom
Downloaded: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compilers/2.4/plexus-compilers-2.4.pom (2 KB at 2.1 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler-api/2.4/plexus-compiler-api-2.4.jar
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler-javac/2.4/plexus-compiler-javac-2.4.jar
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler-manager/2.4/plexus-compiler-manager-2.4.jar
Downloaded: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler-api/2.4/plexus-compiler-api-2.4.jar (25 KB at 31.6 KB/sec)
Downloaded: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler-manager/2.4/plexus-compiler-manager-2.4.jar (5 KB at 4.5 KB/sec)
Downloaded: https://repository.jboss.org/nexus/content/groups/public-jboss/org/codehaus/plexus/plexus-compiler-javac/2.4/plexus-compiler-javac-2.4.jar (19 KB at 16.6 KB/sec)
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /home/ancosen/git_repo/camel-cassandra/target/classes
[INFO] /home/ancosen/git_repo/camel-cassandra/src/main/java/com/github/oscerd/camel/component/cassandra/CassandraProducer.java: /home/ancosen/git_repo/camel-cassandra/src/main/java/com/github/oscerd/camel/component/cassandra/CassandraProducer.java uses unchecked or unsafe operations.
[INFO] /home/ancosen/git_repo/camel-cassandra/src/main/java/com/github/oscerd/camel/component/cassandra/CassandraProducer.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ camel-cassandra ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ camel-cassandra ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 16 source files to /home/ancosen/git_repo/camel-cassandra/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ camel-cassandra ---
[INFO] Surefire report directory: /home/ancosen/git_repo/camel-cassandra/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.github.oscerd.camel.component.cassandra.CassandraInsertTest
Connection to Cassandra closed: Stream closed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.993 sec - in com.github.oscerd.camel.component.cassandra.CassandraInsertTest
Running com.github.oscerd.camel.component.cassandra.CassandraSelectColumnWhereTest
Connection to Cassandra closed: Stream closed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.414 sec - in com.github.oscerd.camel.component.cassandra.CassandraSelectColumnWhereTest
Running com.github.oscerd.camel.component.cassandra.CassandraConsumerTest
Connection to Cassandra closed: Stream closed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.07 sec - in com.github.oscerd.camel.component.cassandra.CassandraConsumerTest
Running com.github.oscerd.camel.component.cassandra.CassandraSelectAllTest
Connection to Cassandra closed: Stream closed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.196 sec - in com.github.oscerd.camel.component.cassandra.CassandraSelectAllTest
Running com.github.oscerd.camel.component.cassandra.CassandraSelectAllWhereTest
Connection to Cassandra closed: Stream closed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.351 sec - in com.github.oscerd.camel.component.cassandra.CassandraSelectAllWhereTest
Running com.github.oscerd.camel.component.cassandra.CassandraUpdateTest
Connection to Cassandra closed: Stream closed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.028 sec - in com.github.oscerd.camel.component.cassandra.CassandraUpdateTest
Running com.github.oscerd.camel.component.cassandra.CassandraDecrementTest
Connection to Cassandra closed: Stream closed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.634 sec - in com.github.oscerd.camel.component.cassandra.CassandraDecrementTest
Running com.github.oscerd.camel.component.cassandra.CassandraPlainQueryTest
Connection to Cassandra closed: Stream closed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.157 sec - in com.github.oscerd.camel.component.cassandra.CassandraPlainQueryTest
Running com.github.oscerd.camel.component.cassandra.CassandraIncrementTest
Connection to Cassandra closed: Stream closed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.695 sec - in com.github.oscerd.camel.component.cassandra.CassandraIncrementTest
Running com.github.oscerd.camel.component.cassandra.CassandraDeleteColumnWhereTest
Connection to Cassandra closed: Stream closed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.07 sec - in com.github.oscerd.camel.component.cassandra.CassandraDeleteColumnWhereTest
Running com.github.oscerd.camel.component.cassandra.CassandraBatchInsertTest
Connection to Cassandra closed: Stream closed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.496 sec - in com.github.oscerd.camel.component.cassandra.CassandraBatchInsertTest
Running com.github.oscerd.camel.component.cassandra.CassandraDeleteWhereTest
Connection to Cassandra closed: Stream closed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.556 sec - in com.github.oscerd.camel.component.cassandra.CassandraDeleteWhereTest
Running com.github.oscerd.camel.component.cassandra.CassandraSelectColumnTest
Connection to Cassandra closed: Stream closed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.082 sec - in com.github.oscerd.camel.component.cassandra.CassandraSelectColumnTest
Results :
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:46.738s
[INFO] Finished at: Mon Jan 12 08:19:18 CET 2015
[INFO] Final Memory: 21M/156M
[INFO] ------------------------------------------------------------------------
What is your OS? What is your jdk version?
mac os, jdk 7
I've made a little change. I've added IF NOT EXISTS on the indexes created in the setup of farsandra. Maybe we can ask an help to @edwardcapriolo , the author of farsandra, because it's possible I'm making mistakes in setting up farsandra in CassandraBaseTest and CassandraBaseCounterTest.
What is really mysterious it's the fact that, on the first test, you already have album_idx index created and farsandra should have created a new clean Cassandra instance, without keyspaces, tables, indexes or anything else. It seems some caching problem, but farsandra should clean everything at the end of test class, calling getManager().destroy().
This is very weird..
Andrea
I'll retest, amico mio, and let you know.
A quick look shows you are using cleanInstanceOnStartup = true which should be right. I will take a longer look tonight.
Suggestion. I would use @Before and @After or @BeforeClass and @AfterClass if possible. In a way like I did here: https://github.com/edwardcapriolo/farsandra/blob/master/src/test/java/io/teknek/farsandra/TestFarsandra.java
Looks much better. Cannot wait to start using this component! Here are the assert failures (there are no more tests in error):
Failed tests: CassandraConsumerTest.testConsume:46->CamelTestSupport.assertMockEndpointsSatisfied:675 mock://result Failed due to caught exception: java.lang.AssertionError: expected:<14> but was:<6> CassandraDecrementTest.testDecrementCounter:63->Assert.assertEquals:542->Assert.assertEquals:555->Assert.assertEquals:118->Assert.failNotEquals:743->Assert.fail:88 expected:<-2> but was:<-4> CassandraDeleteWhereTest.testDelete:59->Assert.assertEquals:542->Assert.assertEquals:555->Assert.assertEquals:118->Assert.failNotEquals:743->Assert.fail:88 expected:<13> but was:<5> CassandraIncrementTest.testIncrementCounter:63->Assert.assertEquals:542->Assert.assertEquals:555->Assert.assertEquals:118->Assert.failNotEquals:743->Assert.fail:88 expected:<4> but was:<6> CassandraPlainQueryTest.testPlainQuery:46->Assert.assertEquals:542->Assert.assertEquals:555->Assert.assertEquals:118->Assert.failNotEquals:743->Assert.fail:88 expected:<14> but was:<6> CassandraSelectAllTest.testInsert:45->Assert.assertEquals:542->Assert.assertEquals:555->Assert.assertEquals:118->Assert.failNotEquals:743->Assert.fail:88 expected:<6> but was:<14> CassandraSelectColumnTest.testSelectColumn:55->Assert.assertTrue:52->Assert.assertTrue:41->Assert.fail:86 null
@edwardcapriolo The CassandraBaseTest extends CamelTestSupport, the overidding method are part of @Before and @After method of CamelTestSupport. Many thanks for your help and your time. I really don't understand what is the problem of these tests. On Ubuntu tests passes without problem, on Mac OS we have this weird problem.
@cajunesque I think the problem remains. The index is already created, but the IF NOT EXISTS bypass the error. Very weird.
A quick solution is to create a random named directory for each run. I was looking through the code on the farsandra side and the logic that clears that data directory. I think there could be a case where a Path is constructed and deleted and potentially used later. Though it is the same physical path /a/b/c I wonder if the file object is invalid. An issue like this may only be exposed when code is running on a file system with different semantics. Since I run linux I can not easily test this myself.
Same problem here. I run Linux. Anyway I will try to work on random named directory on each test.
@cajunesque @edwardcapriolo I've added random named data directory, with the latest commit: https://github.com/oscerd/camel-cassandra/commit/9378d3dc959de318333dacd5905e77148ff2c90c
will try it out now
I verified that I have your latest code with the random data dir created for your BaseTest.
Here are the asserts failing in 6 tests for me now (previously I had 7 tests not passing):
Failed tests: CassandraConsumerTest.testConsume:46->CamelTestSupport.assertMockEndpointsSatisfied:675 mock://result Failed due to caught exception: java.lang.AssertionError: expected:<14> but was:<6> CassandraDecrementTest.testDecrementCounter:63->Assert.assertEquals:542->Assert.assertEquals:555->Assert.assertEquals:118->Assert.failNotEquals:743->Assert.fail:88 expected:<0> but was:<-4> CassandraDeleteWhereTest.testDelete:59->Assert.assertEquals:542->Assert.assertEquals:555->Assert.assertEquals:118->Assert.failNotEquals:743->Assert.fail:88 expected:<13> but was:<5> CassandraPlainQueryTest.testPlainQuery:46->Assert.assertEquals:542->Assert.assertEquals:555->Assert.assertEquals:118->Assert.failNotEquals:743->Assert.fail:88 expected:<14> but was:<6> CassandraSelectAllTest.testInsert:45->Assert.assertEquals:542->Assert.assertEquals:555->Assert.assertEquals:118->Assert.failNotEquals:743->Assert.fail:88 expected:<6> but was:<14> CassandraSelectColumnTest.testSelectColumn:55->Assert.assertTrue:52->Assert.assertTrue:41->Assert.fail:86 null
Very weird
@cajunesque @edwardcapriolo Try to change the method destroy() with destroyAndWaitForShutdown() with the last commit https://github.com/oscerd/camel-cassandra/commit/904cbf106519e83a446cde13596bf078ce7aeb72
Anyway I think is a problem related to Mac filesystem or maybe to the cassandra instance started by farsandra on that OS. It's the only possible explanation.
@cajunesque Do you have a running cassandra instance on your machine while executing those tests?
Buongiorno,
Tried to build your cassandra component and get the mvn error below. Is there a modification I can make to the project pom?
Thanks, Mark markcbordelon@yahoo.com
[ERROR] The project org.apache.camel:camel-cassandra:unknown-version has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.camel:components:pom:2.15-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 11 -> [Help 2]