blob: 26d995bec3e6081e07185f29f5bc9a30781782e4 [file] [log] [blame]
Basic test for the memory pressure simulation mechanism.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Verify that we're not running under memory pressure from the beginning.
PASS internals.isUnderMemoryPressure is false
Begin simulated memory pressure.
PASS internals.isUnderMemoryPressure is true
End simulated memory pressure.
PASS internals.isUnderMemoryPressure is false
PASS successfullyParsed is true
TEST COMPLETE