File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/test/java/org/opentripplanner/routing/graph Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,8 @@ public void compareGraphToItself () {
86
86
ObjectDiffer objectDiffer = new ObjectDiffer ();
87
87
objectDiffer .ignoreFields ("incoming" , "outgoing" );
88
88
objectDiffer .useEquals (BitSet .class , LineString .class , Polygon .class );
89
- objectDiffer .ignoreClasses (WeakValueHashMap .class );
89
+ // ThreadPoolExecutor contains a weak reference to a very deep chain of Finalizer instances.
90
+ objectDiffer .ignoreClasses (WeakValueHashMap .class , ThreadPoolExecutor .class );
90
91
// This setting is critical to perform a deep test of an object against itself.
91
92
objectDiffer .enableComparingIdenticalObjects ();
92
93
objectDiffer .compareTwoObjects (originalGraph , originalGraph );
You can’t perform that action at this time.
0 commit comments