Example #1
0
        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);
        }
Example #2
0
 public RavenTestBase()
 {
     CommonInitializationUtil.Initialize();
 }
Example #3
0
 public RavenTestBase()
 {
     Environment.SetEnvironmentVariable(Constants.RavenDefaultQueryTimeout, "30");
     CommonInitializationUtil.Initialize();
 }