-
- Downloads
Empty tor data directory between integ tests
When authoring our integ tests years ago I had a decision to make: retain tor's data directory between runs or start fresh. From the standpoint of testing best practices this should be a no brainer: start fresh. However, I decided against this because at the time we ran our 'ONLINE' target by default, and losing our cache added a frustrating amount of runtime. We no longer run tests that require network activity by default, and keeping our data directory around adds up over time... % du -h test/data/tor_log 5.3M test/data/tor_log % ls test/data/torrc.orig.* | wc -l 98 I'm about to change our logging runlevel which will raise our log size by an order of magnitude. This is negligible, but if we don't first change our cleaning behavior it'll add up.
Please register or sign in to comment