Return-Path: X-Original-To: apmail-aurora-reviews-archive@minotaur.apache.org Delivered-To: apmail-aurora-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B2DC11C67 for ; Tue, 19 Aug 2014 17:39:33 +0000 (UTC) Received: (qmail 57358 invoked by uid 500); 19 Aug 2014 17:39:33 -0000 Delivered-To: apmail-aurora-reviews-archive@aurora.apache.org Received: (qmail 57322 invoked by uid 500); 19 Aug 2014 17:39:33 -0000 Mailing-List: contact reviews-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.incubator.apache.org Delivered-To: mailing list reviews@aurora.incubator.apache.org Received: (qmail 57311 invoked by uid 99); 19 Aug 2014 17:39:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2014 17:39:32 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 19 Aug 2014 17:39:31 +0000 Received: (qmail 54927 invoked by uid 99); 19 Aug 2014 17:39:10 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2014 17:39:10 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 0AAA21DBDDE; Tue, 19 Aug 2014 17:39:11 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0169092950840712251==" MIME-Version: 1.0 Subject: Re: Review Request 24852: Add command output tests for "job create", "job killall", "job kill" From: "Mark Chu-Carroll" To: "Maxim Khutornenko" , "David McLaughlin" Cc: "Aurora" , "Mark Chu-Carroll" Date: Tue, 19 Aug 2014 17:39:11 -0000 Message-ID: <20140819173911.1309.2478@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Mark Chu-Carroll" X-ReviewGroup: Aurora X-ReviewRequest-URL: https://reviews.apache.org/r/24852/ X-Sender: "Mark Chu-Carroll" References: <20140819154726.7609.38223@reviews.apache.org> In-Reply-To: <20140819154726.7609.38223@reviews.apache.org> Reply-To: "Mark Chu-Carroll" X-ReviewRequest-Repository: aurora X-Virus-Checked: Checked by ClamAV on apache.org --===============0169092950840712251== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Aug. 19, 2014, 11:47 a.m., Maxim Khutornenko wrote: > > src/test/python/apache/aurora/client/cli/test_create.py, lines 233-234 > > > > > > This is the existing test, right? Diff shows it in green for some reason... > > Mark Chu-Carroll wrote: > No, this is a new test. It's almost identical to an existing test, except that instead of checking API calls, it's checking output. > > Maxim Khutornenko wrote: > Please, drop the TODO in that case. No need in multiplying them. But don't we want to mark this as a spot that needs to be fixed? - Mark ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/24852/#review50974 ----------------------------------------------------------- On Aug. 19, 2014, 11:22 a.m., Mark Chu-Carroll wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/24852/ > ----------------------------------------------------------- > > (Updated Aug. 19, 2014, 11:22 a.m.) > > > Review request for Aurora, David McLaughlin and Maxim Khutornenko. > > > Bugs: aurora-645 > https://issues.apache.org/jira/browse/aurora-645 > > > Repository: aurora > > > Description > ------- > > Add tests to ensure that IO behavior of client commands is correct. > > Improve IO behavior in the IO client, so that users get more information. > Formorely, many commands succeeded silently, when it would be more helpful to actually tell the user that you did something. (This shouldn't affect scripting, because in these commands, the only result that's needed by a scripter is succeess/failure, which is carried by the exit code.) > > > Diffs > ----- > > src/main/python/apache/aurora/client/cli/context.py 0e10589c2e8ab6decedb12122a0d8c7a81285e18 > src/main/python/apache/aurora/client/cli/jobs.py 109ce59e3e8dc1c6f4fb918522718cc47867020d > src/test/python/apache/aurora/client/cli/test_create.py ca635bd49acec9596db67839451101a59ba4d761 > src/test/python/apache/aurora/client/cli/test_kill.py ee64908855a4960f44ce96c810e69dd105d2ce5d > src/test/python/apache/aurora/client/cli/test_restart.py 14a08e873058374a9bfe4ffbff8ae7279123f264 > > Diff: https://reviews.apache.org/r/24852/diff/ > > > Testing > ------- > > Ran test suite. > > > Thanks, > > Mark Chu-Carroll > > --===============0169092950840712251==--