Skip to content

Commit 01ee10f

Browse files
committed
t: run at least once Memorylimit register with max_rss_limit > 0
Related: https://progress.opensuse.org/issues/178948
1 parent 4830671 commit 01ee10f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

t/api/14-plugin_memory_limit.t

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright 2017-2025 SUSE LLC
2+
# SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
use Test::Most;
5+
use Mojolicious;
6+
7+
use_ok('OpenQA::WebAPI::Plugin::MemoryLimit');
8+
9+
my $app = Mojolicious->new;
10+
OpenQA::WebAPI::Plugin::MemoryLimit->register($app);
11+
12+
done_testing;

0 commit comments

Comments
 (0)