Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2014 14:55:31 -0700
From:      Shrikanth Kamath <shrikanth07@gmail.com>
To:        Craig Rodrigues <rodrigc@freebsd.org>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>
Subject:   Re: Increasing timeout for ATF test case
Message-ID:  <CAEOAkMWPt%2Bxxmsa9wD=e3cJy8=9rOuTM50UaE7xzQ59Yw=C=Ag@mail.gmail.com>
In-Reply-To: <CAG=rPVdmXaXFTo6FvcMKLEeUfVh6qwhfp_9No0xifpEdjq5X7g@mail.gmail.com>
References:  <CAG=rPVdmXaXFTo6FvcMKLEeUfVh6qwhfp_9No0xifpEdjq5X7g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Craig, that solved it. I have to start reading on kyua but
currently the availability in my env is still the legacy atf-run I had
a follow up question, does ATF framework support signaling the test
scripts like a SIGINT? Or I have to take help from a wrapper shell
script?

--
Shrikanth R K

On Mon, Sep 29, 2014 at 1:58 PM, Craig Rodrigues <rodrigc@freebsd.org> wrote:
> 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 <shrikanth07@gmail.com>
> 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 <rodrigc@freebsd.org>
>> 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"
>> >
>> >
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEOAkMWPt%2Bxxmsa9wD=e3cJy8=9rOuTM50UaE7xzQ59Yw=C=Ag>