Skip to content

test: fix tick-processor tests and run them in CI

Those tests were doing significantly to much work and almost all failed for me before with timeouts after 2 minutes. The test was super heavy and there was a lot of IO involved. I reduced the runtime of each of these tests to about 1-3 seconds (depending on finding a match right away or if they have to try again) and moved them to sequential, so we would actually know when they fail.

I removed one of the tests as it seems that the V8 internals do not produce "UNKNOWN" frequently anymore and it was already very rare when the test was written. In the end these tests are mainly redundant to each other anyway, as it should be enough to have a single test to check for the failure and another one to check for a specific output. Checking for specific output with specific code should not be required but I thought I keep the two redundant ones anyway.

This is still WIP as I want to see if they actually still fail on a lot of OS or if we are able to run them on most systems by now.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading