edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale LaBossiere (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EDGENT-310) KafkaStreamsTestManual.testSimple() fails with no local zk or kafka servers
Date Fri, 11 Nov 2016 18:01:05 GMT

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

Dale LaBossiere commented on EDGENT-310:
----------------------------------------

As you verified with the sample apps, the connector clearly works when correctly provided
with info for remote servers.  So at most this is a test configuration setup capability. 
I've changed the type from Bug to Test.  I didn't actually try the alternate test config -
hoped the info was sufficient so you'd get a positive result :-)  I'll have to look into it.

> KafkaStreamsTestManual.testSimple() fails with no local zk or kafka servers
> ---------------------------------------------------------------------------
>
>                 Key: EDGENT-310
>                 URL: https://issues.apache.org/jira/browse/EDGENT-310
>             Project: Edgent
>          Issue Type: Test
>          Components: Test
>    Affects Versions: Apache Edgent 1.0.0
>         Environment: kafka_2.11-0.10.1.0
>            Reporter: Rui Shen
>
> I have set up a kafka on local and a remote machine following the quick start guide http://kafka.apache.org/quickstart.
And I pulled the latest code of the branch "release1.0.0". I tried to run KafkaStreamsTestManual.testSimple(),
but found it works with local kafka but fails with the remote kafka (the error shown as below
). I have tested my remote kafka with my local kafka console client and the SimpleSubscriberApp.java
so I am sure that it works. And I even tried to start local kafka consumer console client
during testSimple() is running, I can get the messages ('Hello' and 'Are you there?') from
the console. So I am suspecting that there is something wrong with Edgent Tester to handle
this test case. 
> ================================
> java.lang.AssertionError:  contents:[]
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.apache.edgent.test.topology.TopologyAbstractTest.completeAndValidate(TopologyAbstractTest.java:98)
> 	at org.apache.edgent.test.connectors.common.ConnectorTestBase.completeAndValidate(ConnectorTestBase.java:104)
> 	at org.apache.edgent.test.connectors.common.ConnectorTestBase.completeAndValidate(ConnectorTestBase.java:93)
> 	at org.apache.edgent.test.connectors.kafka.KafkaStreamsTestManual.testSimple(KafkaStreamsTestManual.java:133)
> 	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 org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> 	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message