test/gen_testdata: Start generating test files from clean empty state
Previsouly we were generating e.g. 1.fs starting over existing 1.fs and due to that when FileStoraga was opening it, it was e.g. scanning existing 1.fs.index, thus doing some time() calls and so when the database was started to be generted the state of the timer was different compared to the situation if the database did not existed before gen_testdata.py run. In other words the result of gen_testdata.py run was different for the cases when it run after `rm testdata/1*` and without that rm. -> Make gen_testdata result to be stable irregardless of the start state when it runs by explicitly removing test databases fitst. As diff to *.zpickledis.ok shows, resulting changes are only in transaction IDs.
Showing
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
Please register or sign in to comment