You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Matan Safriel <ma...@cloudaloe.org> on 2013/02/22 17:53:37 UTC

Advice about running 0.8 tests

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

Re: Advice about running 0.8 tests

Posted by Matan Safriel <ma...@cloudaloe.org>.
Thanks!

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
fails.

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?

Thanks!
Matan


On Fri, Feb 22, 2013 at 7:00 PM, Neha Narkhede <ne...@gmail.com>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 <ma...@cloudaloe.org>
> 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
> >
>

Re: Advice about running 0.8 tests

Posted by Neha Narkhede <ne...@gmail.com>.
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 <ma...@cloudaloe.org> 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
>