Skip to content
Snippets Groups Projects
Commit 9ed2f5d4 authored by juanf's avatar juanf
Browse files

SSDM-5407 : New Write / Atomic move test on dss startup - == false

SVN: 38587
parent 4a813383
No related branches found
No related tags found
No related merge requests found
......@@ -370,29 +370,29 @@ public class DssPropertyParametersUtil
throw createException(NON_VOLUME_TEMPLATE, "log-registrations", logRegistrationsPath, null, null);
}
// Same volume tests
else if (!dssTmpStore.equals(recoveryStateStore))
else if (dssTmpStore.equals(recoveryStateStore) == false)
{
throw createException(NON_SAME_VOLUME_TEMPLATE, "dss-tmp", dssTmpPath, "recovery-state", recoveryStatePath);
} else if (!dssTmpStore.equals(logRegistrationsState))
} else if (dssTmpStore.equals(logRegistrationsState) == false)
{
throw createException(NON_SAME_VOLUME_TEMPLATE, "dss-tmp", dssTmpPath, "log-registrations", logRegistrationsPath);
}
// Writable folders tests
else if (!isWritable(fileOperations, dssTmpPath))
else if (isWritable(fileOperations, dssTmpPath) == false)
{
throw createException(NON_WRITABLE_TEMPLATE, "dss-tmp", dssTmpPath, null, null);
} else if (!isWritable(fileOperations, recoveryStatePath))
} else if (isWritable(fileOperations, recoveryStatePath) == false)
{
throw createException(NON_WRITABLE_TEMPLATE, "recovery-state", recoveryStatePath, null, null);
} else if (!isWritable(fileOperations, logRegistrationsPath))
} else if (isWritable(fileOperations, logRegistrationsPath) == false)
{
throw createException(NON_WRITABLE_TEMPLATE, "log-registrations", logRegistrationsPath, null, null);
}
// Move command tests
else if (!isMoveFromTo(fileOperations, dssTmpPath, recoveryStatePath))
else if (isMoveFromTo(fileOperations, dssTmpPath, recoveryStatePath) == false)
{
throw createException(NON_MOVE_TEMPLATE, "dss-tmp", dssTmpPath, "recovery-state", recoveryStatePath);
} else if (!isMoveFromTo(fileOperations, dssTmpPath, logRegistrationsPath))
} else if (isMoveFromTo(fileOperations, dssTmpPath, logRegistrationsPath) == false)
{
throw createException(NON_MOVE_TEMPLATE, "dss-tmp", dssTmpPath, "log-registrations", logRegistrationsPath);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment