Jan-07-2020, 10:34 AM
(This post was last modified: Jan-07-2020, 10:34 AM by Gribouillis.)
If you are in linux, you can very easily create a ram disk where you would store the temporary files and directories needed for the tests. It would make the tests run much faster and also avoid unnecessary disk accesses. Here is a recipe to create a ramdisk of size 512MB
Output:mkdir /media/ramdisk
chmod 777 /media/ramdisk
sudo mount -t tmpfs -o size=512M tmpfs /media/ramdisk
It can also be automounted at boot time by adding this line to /etc/fstabOutput:none /media/ramdisk tmpfs nodev,nosuid,noexec,nodiratime,size=512M 0 0
Then create the necessary files and directories for the tests as subdirectories of /media/ramdisk