Return-Path: X-Original-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B38F79C6D for ; Sun, 6 Nov 2011 04:22:41 +0000 (UTC) Received: (qmail 33775 invoked by uid 500); 6 Nov 2011 04:22:41 -0000 Delivered-To: apmail-incubator-kafka-dev-archive@incubator.apache.org Received: (qmail 33754 invoked by uid 500); 6 Nov 2011 04:22:41 -0000 Mailing-List: contact kafka-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: kafka-dev@incubator.apache.org Delivered-To: mailing list kafka-dev@incubator.apache.org Received: (qmail 33746 invoked by uid 99); 6 Nov 2011 04:22:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2011 04:22:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cryptcom@gmail.com designates 209.85.213.47 as permitted sender) Received: from [209.85.213.47] (HELO mail-yw0-f47.google.com) (209.85.213.47) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2011 04:22:36 +0000 Received: by ywf9 with SMTP id 9so3787282ywf.6 for ; Sat, 05 Nov 2011 21:22:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=lwhpzUa89Il7pk8KmqZ8VGoUizpUtPA1p3ouu7AUBqQ=; b=L54H7sFa8VwmeWYmepyy47GnieL1NSAMg5s3E8o8df0GmyQCKSjfqJCWckNNE0XpN3 qe20l6C/UXZsl0C0J3DWgT2oAHmnk7Gazq2Ria4UFk3tl7fzpGXiAFfsPSpNDww2z2fO XW7BCDFEpuMhofvpa9tRzqNWKlqcAHedGtsGs= MIME-Version: 1.0 Received: by 10.236.123.73 with SMTP id u49mr27175102yhh.88.1320553335739; Sat, 05 Nov 2011 21:22:15 -0700 (PDT) Received: by 10.236.103.171 with HTTP; Sat, 5 Nov 2011 21:22:15 -0700 (PDT) Date: Sun, 6 Nov 2011 00:22:15 -0400 Message-ID: Subject: CompressionUtilTest does not run and fails when it does From: Joe Stein To: kafka-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=20cf3010e2ab7bd50e04b10948f9 --20cf3010e2ab7bd50e04b10948f9 Content-Type: text/plain; charset=ISO-8859-1 CompressionUtilTest does not run the functions inside of it during ./sbt test if you change CompressionUtilTest to extend JUnitSuite then the existing functions run (once you adorne them with @Test) but then fail ... I suspect the TestUtils.checkEquals(messages.iterator, decompressedMessages.iterator) is failing in testSimpleCompressDecompress because all of the messages are serialized into byte arrays and the entire set of messages compressed and that new compressed messages is what is returned as one message instead of the List[Message] and therefor are not interpreted within TestUtil.checkEquals to see this nuance. e.g. [error] Test Failed: testSimpleCompressDecompress junit.framework.AssertionFailedError: expected: but was: and [error] Test Failed: testComplexCompressDecompress junit.framework.AssertionFailedError: expected:<2> but was:<3> Before opening a JIRA just wanted to check if maybe there was something that I was missing? /* Joe Stein http://www.linkedin.com/in/charmalloc Twitter: @allthingshadoop */ --20cf3010e2ab7bd50e04b10948f9--