fdb-joshua icon indicating copy to clipboard operation
fdb-joshua copied to clipboard

Try: Use tmpfs folder as joshua agent work directory

Open xumengpanda opened this issue 4 years ago • 0 comments

I noticed that Joshua test has failure due to "Disk i/o error". This happens when Joshua agent process cannot write to its disk. This causes false-positive test failures (my guess).

To confirm this, we can use a tmpfs folder as Joshua agent's work_dir. It can

  1. Avoid the disk I/o error (hopefully);
  2. Reduce each test's execution time due to faster disk access.

I used /dev/shm/ in this PR, which may or may not be the best choice. One caveat: we want to make sure the work folder is large enough to host the test temporary results. My gut feeling is that 1GB folder should be large enough.

xumengpanda avatar Apr 14 '21 04:04 xumengpanda