Action required: script_run() API change in OpenQA
Hello, I'd like to notify you about the following GitHub pull request which will change the documented behavior of script_run() within the os-autoinst-distri-opensuse testsuite: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/14027 The PR will stay open for 3 weeks, until February 7th, 2022 so that everybody can update their code. The API change is that script_run() will no longer return undef by default when the shell command times out. Instead, script_run() will raise error and the test module will fail. If your test code intentionally accepts command timeout as one of the expected valid results, you can preserve the old behavior by adding a new argument to the call: script_run(..., die_on_timeout => 0); If your code is well-behaved and only treats command timeouts in script_run() as errors, then the only action you need to take is to celebrate another small improvement in OpenQA. -- Martin Doucha mdoucha@suse.cz QA Engineer for Software Maintenance SUSE LINUX, s.r.o. CORSO IIa Krizikova 148/34 186 00 Prague 8 Czech Republic
participants (1)
-
Martin Doucha