Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-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 ED54D10D5C for ; Thu, 5 Mar 2015 11:53:59 +0000 (UTC) Received: (qmail 93716 invoked by uid 500); 5 Mar 2015 11:53:59 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 93675 invoked by uid 500); 5 Mar 2015 11:53:59 -0000 Mailing-List: contact dev-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list dev@ignite.incubator.apache.org Received: (qmail 93663 invoked by uid 99); 5 Mar 2015 11:53:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 11:53:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Thu, 05 Mar 2015 11:53:58 +0000 Received: (qmail 93546 invoked by uid 99); 5 Mar 2015 11:53:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 11:53:38 +0000 Date: Thu, 5 Mar 2015 11:53:38 +0000 (UTC) From: "Vasilisa Sidorova (JIRA)" To: dev@ignite.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-185) Batch mode for Visorcmd MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IGNITE-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vasilisa Sidorova updated IGNITE-185: ------------------------------------- Attachment: withExit runVisorcmdWithFileResults > Batch mode for Visorcmd > ----------------------- > > Key: IGNITE-185 > URL: https://issues.apache.org/jira/browse/IGNITE-185 > Project: Ignite > Issue Type: Task > Components: UI > Affects Versions: sprint-1 > Reporter: Alexey Kuznetsov > Assignee: Vasilisa Sidorova > Fix For: sprint-2 > > Attachments: runVisorcmdWithFileResults, withExit > > > Batch mode for visorcmd allow to read commands from test file (one command per line), perform them, send output to STDOUT/STDERR and exit if end of text file has been reached. > e.g. ./bin/ggvisorcmd -b path_to_batch_file > For this case the output of visorcmd will be stored into the file and test scripts can compare content of this file against expected result. > Expected troubles for implementing is requests of confirmation/parameters for some commands (e.g. "kill" - confirm to kill, "open" - set number of config file). But can be resolved by following ways: > next line after such command contains text for request, e.g. > open > 14 > kill > y > after command inside brackets we put text for request > open {14} > kill > {y} > do not ask confirmation if visorcmd started in batch mode (but how to resolve commands like "open"?) -- This message was sent by Atlassian JIRA (v6.3.4#6332)