aboutsummaryrefslogtreecommitdiff
path: root/node_test.go
diff options
context:
space:
mode:
authorTommi Virtanen <tv@eagain.net>2014-03-23 14:40:08 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-03-24 07:47:33 -0600
commite9b2cab0fa6fd0536cf472967cd82f418218c81c (patch)
treeb87399eb867a2a4bfd7fe84c54d25108ebe625f3 /node_test.go
parentResolve remaining errcheck warnings. (diff)
downloaddedo-e9b2cab0fa6fd0536cf472967cd82f418218c81c.tar.gz
dedo-e9b2cab0fa6fd0536cf472967cd82f418218c81c.tar.xz
Re-add tests for write failures
Commit d2173f5f0ecbf4ed93c768e975435b04df3186ec removed the complete os & syscall mocking layer as overly complex. This commit adds back the simplest possible thing: hooks to control the database file writes. Missing tests: TestDBOpenMetaFileError, TestDBMmapStatError. These are harder to test without more extensive mocking. Conflicts: db_test.go
Diffstat (limited to 'node_test.go')
0 files changed, 0 insertions, 0 deletions