From owner-freebsd-testing@FreeBSD.ORG Mon Sep 29 20:58:31 2014 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A757AA79 for ; Mon, 29 Sep 2014 20:58:31 +0000 (UTC) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3074B6C3 for ; Mon, 29 Sep 2014 20:58:31 +0000 (UTC) Received: by mail-la0-f48.google.com with SMTP id q1so7314535lam.35 for ; Mon, 29 Sep 2014 13:58:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=MEEYoGdhgNcWbKe7NMdOZ0YDcIDD/qQYOH2giG1lgxI=; b=tmRlbpVTUvjmPtpxS23jRH/MldPdY7uYm2dI0uxAv7UJdF6MUe26JIbZHos/HYJoWh uAxEwMpaKzF1TkU5zxHn8xyYeYcKJt+7lfHnnqcADJiUsxOKu328fzRVfCThatq1TJSl jzoexOT3AEYjmheiaSncZergnzimPvKUWwlAzZhB+4veHiILC1SklSC5RQtRSY/pW3XY HjsrmHtcilXGLI0LsdweT1XNGzFV04++joXfj5rY/68l4Kt/7KQgkIarLsDpRMGD9pfd n50lFeDfpzVo2yqqJdmS5F5cPCjHMwTUpcgapVMxtooiJnVSxvv2sqNKWfnVd+Aa5ZJd k8JA== MIME-Version: 1.0 X-Received: by 10.112.199.232 with SMTP id jn8mr39519441lbc.30.1412024309031; Mon, 29 Sep 2014 13:58:29 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.131.66 with HTTP; Mon, 29 Sep 2014 13:58:29 -0700 (PDT) Date: Mon, 29 Sep 2014 13:58:29 -0700 X-Google-Sender-Auth: uywtrTyYCkEg00WsoirjvrDtpkI Message-ID: Subject: Re: Increasing timeout for ATF test case From: Craig Rodrigues To: Shrikanth Kamath Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-testing@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2014 20:58:31 -0000 Hi, I'm not sure, but you might be able to put something like this in the _head() method for your testcase: atf_set "timeout" "500" See: http://www.daemon-systems.org/man/atf-test-case.4.html Keep in mind that in atf 0.20, the atf-run program has been removed, and kyua is the preferred way to run ATF tests. You might want to glance at this document that I am writing and provide feedback: https://github.com/rodrigc/kyua/wiki/Quickstart-Guide -- Craig On Mon, Sep 29, 2014 at 1:16 PM, Shrikanth Kamath wrote: > Hi Craig, > Not using kyua yet...I run the test by just issuing > > %atf-run t_dtest > > -- > Shrikanth R K > > On Mon, Sep 29, 2014 at 12:38 PM, Craig Rodrigues > wrote: > > Hi, > > > > How are you running the tests? > > If you use kyua, you can specify the timeout for an individual test in > the > > Kyuafile: http://manned.org/kyuafile.5 > > > > -- > > Craig > > > > > > On Mon, Sep 29, 2014 at 11:09 AM, Shrikanth Kamath < > shrikanth07@gmail.com> > > wrote: > >> > >> I am running a python script from inside ATF test framework but > >> because of some default timeout it does not allow the python script to > >> run to completion. > >> Getting the following error... > >> tc-end: 1411774809.781712, dtest, failed, Test case timed out after 300 > >> seconds > >> > >> How do I increase the timeout in ATF test case? > >> > >> -- > >> Shrikanth R K > >> _______________________________________________ > >> freebsd-testing@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-testing > >> To unsubscribe, send any mail to " > freebsd-testing-unsubscribe@freebsd.org" > > > > >