• dusan.simicic's avatar
    [test] Clear unhandled scheduled exceptions from ValueSerializerTest · 73281702
    dusan.simicic authored
    This patch adds destructor to ValueSerializerTest test fixture class
    which reset unhandled scheduled exceptions thrown from the current test.
    In some cases unhandled scheduled exceptions from current test (eg.
    from one test from ValueSerializerTestWithWasm test case) produce that
    Context::New(isolate()) from next test's constructor returns NULL.
    
    This error is easily reproduced when unittest file (compiled for ARM or
    MIPS simulator) is directly executed (not by tools/run_tests.py script),
    so all tests are executed together. When the script is used, each test
    from ValueSerializerTestWithWasm test case is separately executed and
    unhandled exception from one test doesn't efect to another test from
    the same test case.
    
    BUG=
    
    Review-Url: https://codereview.chromium.org/2644083002
    Cr-Commit-Position: refs/heads/master@{#42547}
    73281702
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...