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

Switch to Threaded View
Kafka >> mail # user >> Advice about running 0.8 tests

Copy link to this message
Re: Advice about running 0.8 tests

Ultimately I could successfully run all tests in sbt that day, successfully
as expected.
It takes ~170 seconds - if you manage to make it significantly quicker any
tips are welcome.

It seems however that on my box, *separately *running the zookeeper
oriented test AdminTest in sbt (via sbt: *test-only
kafka.admin.AdminTest)* always

I'm running that test alone when no other tests are concurrently in
progress, the box is doing nothing else, no zookeepers or kafkas, no other
JVM is running in the background. It's actually a freshly installed server
with nothing but bare essentials and the typesafe stack. (Ubuntu 2.10
server, 4 CPU's and 2GB RAM, using the 0.8 kafka branch taken 18 hours ago
which I'm sure is fine).

Not sure why this test succeeds when running along with all other tests
(via sbt test) and failing very consistently when running alone. Has anyone
encountered the same or similar problems?

On Fri, Feb 22, 2013 at 7:00 PM, Neha Narkhede <[EMAIL PROTECTED]>wrote:

> Hi Matan,
> All tests pass successfully on 0.8 HEAD as of today. So that points to some
> environment issue on your end. Maybe you already have a zookeeper/kafka
> running on the same box ?
> Al though its a pain, we currently don't use any tool for viewing the test
> results, but maybe the new version of sbt that we upgraded to has some
> options that I'm unaware of.
> Thanks,
> Neha
> On Fri, Feb 22, 2013 at 8:53 AM, Matan Safriel <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> >
> > I grabbed the 0.8 branch today and managed building it with SBT as well
> as
> > in eclipse. I'm running the tests through *./sbt test - *which naturally
> > yields one long output that is very hard to deal with. What's your
> favorite
> > configuration or tool for viewing kafka 0.8's test results in a more
> > intelligible manner?
> >
> > BTW, out of 160 tests I get 91 failed. I'd be happy to confirm with you
> > that's the real picture and not just a result of some setup issue on my
> > box.
> >
> > Your help would be greatly appreciated!
> > Matan
> >