Skip to content

Commit

Permalink
Move back to the top TimeLimit import
Browse files Browse the repository at this point in the history
  • Loading branch information
josegomezr committed Dec 22, 2023
1 parent 338e881 commit 32f1f8c
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions t/14-isotovideo.t
Expand Up @@ -8,6 +8,16 @@ use Test::MockModule;
use FindBin '$Bin';
use lib "$Bin/../external/os-autoinst-common/lib";
use autodie ':all';

# Each full isotovideo invocation (not using _exit_after_schedule=1)
# is expected to take maximum ~6.67 seconds per run.
#
# There are 3 invocations, that approxs to ~20 seconds.
#
# Update this number if a new test involving a full isotovideo invocation is
# added.
use OpenQA::Test::TimeLimit '20';

use IPC::System::Simple qw(system);
use Test::Output qw(combined_like combined_from stderr_from);
use File::Basename;
Expand All @@ -19,15 +29,6 @@ use Mojo::Util qw(scope_guard);
use OpenQA::Isotovideo::Utils qw(checkout_wheels handle_generated_assets load_test_schedule);
use OpenQA::Isotovideo::CommandHandler;

# Each full isotovideo invocation (not using _exit_after_schedule=1)
# is expected to take maximum ~6.67 seconds per run.
#
# There are 3 invocations, that approxs to ~20 seconds.
#
# Update this number if a new test involving a full isotovideo invocation is
# added.
use OpenQA::Test::TimeLimit '20';

my $dir = tempdir("/tmp/$FindBin::Script-XXXX");
my $toplevel_dir = abs_path(dirname(__FILE__) . '/..');
my $data_dir = "$toplevel_dir/t/data";
Expand Down

0 comments on commit 32f1f8c

Please sign in to comment.