Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6D20518F30 for ; Wed, 23 Dec 2015 01:22:47 +0000 (UTC) Received: (qmail 79444 invoked by uid 500); 23 Dec 2015 01:22:47 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 79387 invoked by uid 500); 23 Dec 2015 01:22:47 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 79073 invoked by uid 99); 23 Dec 2015 01:22:47 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2015 01:22:47 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C386F2C1F5C for ; Wed, 23 Dec 2015 01:22:46 +0000 (UTC) Date: Wed, 23 Dec 2015 01:22:46 +0000 (UTC) From: "Michael Kjellman (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-10928) SSTableExportTest.testExportColumnsWithMetadata randomly fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-10928?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Kjellman updated CASSANDRA-10928: ----------------------------------------- Description:=20 The SSTableExportTest.testExportColumnsWithMetadata test will randomly fail= (bogusly). Currently, the string check used won=E2=80=99t work if the JSON= generated happened to order the elements in the array differently. {code} assertEquals( "unexpected serialization format for topLevelDeletion", "{\"markedForDeleteAt\":0,\"localDeletionTime\":0}", serializedDeletionInfo.toJSONString()); {code} {noformat} [junit] Testcase: testExportColumnsWithMetadata(org.apache.cassandra.tools.= SSTableExportTest):=09FAILED [junit] unexpected serialization format for topLevelDeletion expected:<= {"[markedForDeleteAt":0,"localDeletionTime]":0}> but was:<{"[localDeletionT= ime":0,"markedForDeleteAt]":0}> [junit] junit.framework.AssertionFailedError: unexpected serialization = format for topLevelDeletion expected:<{"[markedForDeleteAt":0,"localDeletio= nTime]":0}> but was:<{"[localDeletionTime":0,"markedForDeleteAt]":0}> [junit] =09at org.apache.cassandra.tools.SSTableExportTest.testExportCo= lumnsWithMetadata(SSTableExportTest.java:299) [junit] {noformat} was: The SSTableExportTest.testExportColumnsWithMetadata test will randomly fail= (bogusly). Currently, the string check used won=E2=80=99t work if the JSON= generated happened to ordered the elements in the array differently. {code} assertEquals( "unexpected serialization format for topLevelDeletion", "{\"markedForDeleteAt\":0,\"localDeletionTime\":0}", serializedDeletionInfo.toJSONString()); {code} {noformat} [junit] Testcase: testExportColumnsWithMetadata(org.apache.cassandra.tools.= SSTableExportTest):=09FAILED [junit] unexpected serialization format for topLevelDeletion expected:<= {"[markedForDeleteAt":0,"localDeletionTime]":0}> but was:<{"[localDeletionT= ime":0,"markedForDeleteAt]":0}> [junit] junit.framework.AssertionFailedError: unexpected serialization = format for topLevelDeletion expected:<{"[markedForDeleteAt":0,"localDeletio= nTime]":0}> but was:<{"[localDeletionTime":0,"markedForDeleteAt]":0}> [junit] =09at org.apache.cassandra.tools.SSTableExportTest.testExportCo= lumnsWithMetadata(SSTableExportTest.java:299) [junit] {noformat} > SSTableExportTest.testExportColumnsWithMetadata randomly fails > -------------------------------------------------------------- > > Key: CASSANDRA-10928 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1092= 8 > Project: Cassandra > Issue Type: Bug > Components: Testing > Reporter: Michael Kjellman > > The SSTableExportTest.testExportColumnsWithMetadata test will randomly fa= il (bogusly). Currently, the string check used won=E2=80=99t work if the JS= ON generated happened to order the elements in the array differently. > {code} > assertEquals( > "unexpected serialization format for topLevelDeletion", > "{\"markedForDeleteAt\":0,\"localDeletionTime\":0}", > serializedDeletionInfo.toJSONString()); > {code} > {noformat} > [junit] Testcase: testExportColumnsWithMetadata(org.apache.cassandra.tool= s.SSTableExportTest):=09FAILED > [junit] unexpected serialization format for topLevelDeletion expected= :<{"[markedForDeleteAt":0,"localDeletionTime]":0}> but was:<{"[localDeletio= nTime":0,"markedForDeleteAt]":0}> > [junit] junit.framework.AssertionFailedError: unexpected serializatio= n format for topLevelDeletion expected:<{"[markedForDeleteAt":0,"localDelet= ionTime]":0}> but was:<{"[localDeletionTime":0,"markedForDeleteAt]":0}> > [junit] =09at org.apache.cassandra.tools.SSTableExportTest.testExport= ColumnsWithMetadata(SSTableExportTest.java:299) > [junit] > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)