Skip to content
Snippets Groups Projects
  • Arseny Kapoulkine's avatar
    4e004176
    tests: Improve out-of-memory tests · 4e004176
    Arseny Kapoulkine authored
    Previously there was no guarantee that the tests that check for out of memory
    handling behavior are actually correct - e.g. that they correctly simulate out
    of memory conditions.
    
    Now every simulated out of memory condition has to be "guarded" using
    CHECK_ALLOC_FAIL. It makes sure that every piece of code that is supposed to
    cause out-of-memory does so, and that no other code runs out of memory
    unnoticed.
    4e004176
    History
    tests: Improve out-of-memory tests
    Arseny Kapoulkine authored
    Previously there was no guarantee that the tests that check for out of memory
    handling behavior are actually correct - e.g. that they correctly simulate out
    of memory conditions.
    
    Now every simulated out of memory condition has to be "guarded" using
    CHECK_ALLOC_FAIL. It makes sure that every piece of code that is supposed to
    cause out-of-memory does so, and that no other code runs out of memory
    unnoticed.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.