Skip to content

v0.2.52..v0.2.53 changeset CompareCmdTest.sh

Garret Voltz edited this page Feb 12, 2020 · 1 revision
diff --git a/test-files/cmd/slow/CompareCmdTest.sh b/test-files/cmd/slow/CompareCmdTest.sh
index 8ab16a2..7d23602 100755
--- a/test-files/cmd/slow/CompareCmdTest.sh
+++ b/test-files/cmd/slow/CompareCmdTest.sh
@@ -5,9 +5,15 @@ baseMap1=$HOOT_HOME/test-files/ToyTestA.osm
 baseMap2=$HOOT_HOME/test-files/ToyTestA.osm
 uut=$HOOT_HOME/test-files/ToyTestB.osm
 
-# Run the command. Note that we remove some really small numbers from
-# the output, because they are essentially noise    
-hoot compare $baseMap1 $baseMap2 $uut |\
-           sed "s/ [0-9]\+\.[0-9]\+e\-[0-9]\+//g"    
+# Run the command. Note that we remove some really small numbers from the output, because they are essentially noise. 
+# 
+# Saw two separate bugs when adding generic geometry conflation, one that would only occur single threaded and one that would only occur 
+# multi-thread, so let's run both here. 
+  
+hoot compare -C Testing.conf $baseMap1 $baseMap2 $uut |\
+           sed "s/ [0-9]\+\.[0-9]\+e\-[0-9]\+//g" 
+
+hoot compare -C Testing.conf -D graph.comparator.max.threads=2 $baseMap1 $baseMap2 $uut |\
+           sed "s/ [0-9]\+\.[0-9]\+e\-[0-9]\+//g"   
 
 
Clone this wiki locally