public RavenTestBase() { CommonInitializationUtil.Initialize(); ClearDatabaseDirectory(); Directory.CreateDirectory(DataDir); }
protected RavenTestBase() { Environment.SetEnvironmentVariable(Constants.RavenDefaultQueryTimeout, "30"); CommonInitializationUtil.Initialize(); // Make sure to delete the Data folder which we be used by tests that do not call the NewDataPath from whatever reason. var dataFolder = FilePathTools.MakeSureEndsWithSlash(@"~\Data".ToFullPath()); ClearDatabaseDirectory(dataFolder); pathsToDelete.Add(dataFolder); }
protected RavenTestBase() { if (checkedAsyncVoid == false) { checkedAsyncVoid = true; AssertNoAsyncVoidMethods(GetType().Assembly); } Environment.SetEnvironmentVariable(Constants.RavenDefaultQueryTimeout, "30"); CommonInitializationUtil.Initialize(); // Make sure to delete the Data folder which we be used by tests that do not call the NewDataPath from whatever reason. var dataFolder = FilePathTools.MakeSureEndsWithSlash(@"~\Databases".ToFullPath()); ClearDatabaseDirectory(dataFolder); pathsToDelete.Add(dataFolder); }
public RavenTestBase() { CommonInitializationUtil.Initialize(); }
public RavenTestBase() { Environment.SetEnvironmentVariable(Constants.RavenDefaultQueryTimeout, "30"); CommonInitializationUtil.Initialize(); }