Summary: buck test gets stuck computing the action graph. The getImmediateClasspaths is expensive because it traverse the dependency tree recomputing every nested subtree.
Method will have a memoized supplier, to prevent nested computation.
Reviewed By: bobyangyf