Skip to content

Commit

Permalink
dev-ros/pcl_ros: increase tests tolerance
Browse files Browse the repository at this point in the history
they fail under high load

Closes: https://bugs.gentoo.org/735108
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alexis Ballier <[email protected]>
  • Loading branch information
aballier committed Oct 20, 2020
1 parent 6ad554b commit 3769d96
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions dev-ros/pcl_ros/files/tests.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Increase tolerance, this fails under high loads

Index: pcl_ros/samples/pcl_ros/segmentation/sample_extract_clusters.launch
===================================================================
--- pcl_ros.orig/samples/pcl_ros/segmentation/sample_extract_clusters.launch
+++ pcl_ros/samples/pcl_ros/segmentation/sample_extract_clusters.launch
@@ -25,7 +25,7 @@
<rosparam>
topic: /extract_clusters/output
hz: 3000
- hzerror: 2400
+ hzerror: 2900
test_duration: 5.0
</rosparam>
</test>
1 change: 1 addition & 0 deletions dev-ros/pcl_ros/pcl_ros-1.7.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ DEPEND="${RDEPEND}
dev-cpp/gtest
)
"
PATCHES=( "${FILESDIR}/tests.patch" )
1 change: 1 addition & 0 deletions dev-ros/pcl_ros/pcl_ros-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ DEPEND="${RDEPEND}
dev-cpp/gtest
)
"
PATCHES=( "${FILESDIR}/tests.patch" )

0 comments on commit 3769d96

Please sign in to comment.