summaryrefslogtreecommitdiff
path: root/test/UnitLoadTorture.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-03-20test: increase load timeout in UnitLoadTortureMiklos Vajna1-1/+2
This test sometimes failed on me just because the load was aborted due to the timeout, doubling the limit makes the problem go away. Change-Id: Ided724d67a513391b86836065d4e627581857a92 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90771 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-03-14wsd: test assertion macrosAshod Nakashian1-4/+4
Because the new-style tests are intrustive, the exception that CppUnit throws on assertion failures is caught and processed with the application logic, which is far from ideal, because it's very difficult to find the cause of failure. What we'd like is a way to control what happens when an test assertion fails, such that we can properly log/print the failure, and even break in the debugger. The new macros allow us to control the behavior at compile-time and have added flexibility. For now, they log an assertion failure before invoking the CPPUNIT macro, and support a compile-time directive to assert, which is useful for breaking in the debugger. Change-Id: If464ba246e3ec747f31496a4215cb73ef735dfaf Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87625 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-30test: increase timeout of UnitLoadTortureMiklos Vajna1-0/+8
This now failed under sanitizers due to a timeout. Double the limit; asan typically causes a 2x slowdown. Change-Id: I943c6f900371ff4c05c760d3d993829d54264941 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87716 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-10-21Convert load torture testcase to a new-style oneMiklos Vajna1-0/+217
So that they are in-process, which means it's easier to debug when they fail. Change-Id: I6b33887fbe8dd6071ee767f24d4776a694fb62f7