You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at this a little further, can someone explain to me what TEST_TMPDIR is supposed to mean? On Linux, it IS the test directory to run under. If it it set, the TestDirectory will exactly that value.
const char* env = getenv("TEST_TMPDIR");
if (env && env[0] != '\0') {
*result = env;
} else {
char buf[100];
snprintf(buf, sizeof(buf), "/tmp/rocksdbtest-%d", int(geteuid()));
*result = buf;
}
To me, it seems like they are both potentially wrong. If TEST_TMPDIR is meant to be a full-path, then Windows is wrong. If it is not meant to be a full path, then I think the Posix version should check the value of TMPDIR and not just assume /tmp.
When run on non-tmpfs,
python tools/db_crashtest.py blackbox --simple
regularly fails with aMultiGet()
error looking like this:It's possible our CI always uses tmpfs which might have led us to miss this. cc @anand1976
The text was updated successfully, but these errors were encountered: