Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # dev >> Unit Test Dependencies for Avro Sink

Copy link to this message
Unit Test Dependencies for Avro Sink
I noticed the following failures when I was trying to run some tests a few
days ago.

I wanted to find out why these unit tests would depend on the availability
of a local socket in order for it to work properly.

It seems the failure to bind to the socket is causing the tests to fail.

>From the surface, I dont think the unit tests should depend on its ability
to bind to the sockets.

These type of test looks like it belongs in a separate regression suite for
functional testing.

Feedback would be appreciated.


 testProcess(org.apache.flume.sink.TestAvroSink): Failed to bind to: /
  testTimeout(org.apache.flume.sink.TestAvroSink): Failed to bind to: /
  testFailedConnect(org.apache.flume.sink.TestAvroSink): Failed to bind to:
  testReset(org.apache.flume.sink.TestAvroSink): Failed to bind to: /
  testRequestWithNoCompression(org.apache.flume.sink.TestAvroSink): Failed
to bind to: /

Failed to bind to: /

Failed to bind to: /

Failed to bind to: /

Failed to bind to: /