Project

General

Profile

Actions

Evolution #410

closed

oomtest_begin/oomtest_end: noop if not oomtest_setup before

Added by François Cerbelle about 2 months ago. Updated about 2 months ago.

Status:
Fermé
Priority:
Normal
Target version:
Start date:
07/10/2024
Due date:
% Done:

100%

Estimated time:
2:00 h
Spent time:

Description

oomtest_setup : make oomtest_*_postinit active, set soft rlimit but not hard rlimit
oomtest_reset : make oomtest_*_preinit active, reset soft rlimit to hard rlimit
oomtest_begin_preinit : noop
oomtest_begin_postinit : actual memory fill
oomtest_end_preinit : noop
oomtest_end_postinit : actual memory free

use oomtest_setup in checked_*_oom_setup (in child process if forking enabled)
use oomtest_reset in checked_*_oom_teardown (in child process if forking enabled)

Thus, the main process, testsuites and testcases are not limited by default, only oom testcases with the relevant checked fixtures


Related issues 1 (0 open1 closed)

Blocks Feature request #400: Implement tests for the oomtest_begin/oomtest_end functionsFerméFrançois Cerbelle07/10/202407/13/2024

Actions
Actions #1

Updated by François Cerbelle about 2 months ago

Actions #2

Updated by François Cerbelle about 2 months ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100
Actions #3

Updated by François Cerbelle about 2 months ago

  • Status changed from Résolu to Fermé
Actions

Also available in: Atom PDF