Removed the old test case #3 (and renumbered the remaining ones). The test checked that updating the cache without sync'ing the children di…
Show more
Removed the old test case #3 (and renumbered the remaining ones). The testchecked that updating the cache without sync'ing the children didn't changethe results returned by the get procedure. However the lazy caching code byMalte changed the semantics of get to automatically load the cache withchildren if you try to get the node_id of a node with kids. This is a goodthing, actually, since the update cache w/o sync'ing kids exists to make thecache update quick. But it did break the test checking explicitly for the oldsemantics.It would be nice, however, if people, after writing new code and noticing thattests break, would actually sit down and determine if the test or code is wrongand take appropriate action.Because I just spent two full hours tracking this down and verifying that thenew semantics invalidate the old test code in a reasonable way, and I'm not theauthor of the new code.
Show less