Increasing timeout for ATF test case
Shrikanth Kamath
shrikanth07 at gmail.com
Mon Sep 29 21:55:32 UTC 2014
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 at 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 at 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 at 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 at 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 at freebsd.org mailing list
>> >> https://lists.freebsd.org/mailman/listinfo/freebsd-testing
>> >> To unsubscribe, send any mail to
>> >> "freebsd-testing-unsubscribe at freebsd.org"
>> >
>> >
>
>
More information about the freebsd-testing
mailing list