summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-03-09 12:05:37 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-03-09 12:05:37 +0000
commit0275b4d1ce7c2ea3dbbe31ebc71db5395722bdc9 (patch)
treec056d125921aa43ef4a2aafa77330c52b0de5c56 /test
parentSet linkflags -z defs (diff)
downloadilt-0275b4d1ce7c2ea3dbbe31ebc71db5395722bdc9.tar.bz2
ilt-0275b4d1ce7c2ea3dbbe31ebc71db5395722bdc9.tar.xz
ilt-0275b4d1ce7c2ea3dbbe31ebc71db5395722bdc9.zip
Add timeout to deformation unit test
Diffstat (limited to 'test')
-rw-r--r--test/test-geoData.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-geoData.cpp b/test/test-geoData.cpp
index 36d008b..2d6b1aa 100644
--- a/test/test-geoData.cpp
+++ b/test/test-geoData.cpp
@@ -208,6 +208,8 @@ BOOST_DATA_TEST_CASE(findEntries,
using DeformTerrainData = std::tuple<std::vector<GlobalPosition3D>,
std::vector<std::pair<std::pair<GlobalPosition3D, Direction3D>, std::string>>>;
+BOOST_TEST_DECORATOR(*boost::unit_test::timeout(2));
+
BOOST_DATA_TEST_CASE(deform, loadFixtureJson<DeformTerrainData>("geoData/deform/1.json"), points, cams)
{
auto gd = std::make_shared<GeoData>(GeoData::createFlat({0, 0}, {1000000, 1000000}, 100));