Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8C372200B8D for ; Fri, 23 Sep 2016 11:14:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8ABB3160AC2; Fri, 23 Sep 2016 09:14:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EDDBB160ACA for ; Fri, 23 Sep 2016 11:14:11 +0200 (CEST) Received: (qmail 11648 invoked by uid 500); 23 Sep 2016 09:14:10 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 11626 invoked by uid 99); 23 Sep 2016 09:14:10 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2016 09:14:10 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 17477E01C1; Fri, 23 Sep 2016 09:14:10 +0000 (UTC) From: abhinandanprateek To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request #1678: CLOUDSTACK-9503: Increased the VR script time... Content-Type: text/plain Message-Id: <20160923091410.17477E01C1@git1-us-west.apache.org> Date: Fri, 23 Sep 2016 09:14:10 +0000 (UTC) archived-at: Fri, 23 Sep 2016 09:14:12 -0000 Github user abhinandanprateek commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1678#discussion_r80208282 --- Diff: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtPvlanSetupCommandWrapper.java --- @@ -58,11 +59,11 @@ public Answer execute(final PvlanSetupCommand command, final LibvirtComputingRes String result = null; try { final String guestBridgeName = libvirtComputingResource.getGuestBridgeName(); - final int timeout = libvirtComputingResource.getTimeout(); + final Duration timeout = libvirtComputingResource.getTimeout(); if (command.getType() == PvlanSetupCommand.Type.DHCP) { final String ovsPvlanDhcpHostPath = libvirtComputingResource.getOvsPvlanDhcpHostPath(); - final Script script = new Script(ovsPvlanDhcpHostPath, timeout, s_logger); + final Script script = new Script(ovsPvlanDhcpHostPath, timeout.getMillis(), s_logger); --- End diff -- Scripts is an external package, hope they will upgrade to Duration after Java 1.8. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---