public StandaloneEnvironmentFixture() { StandaloneEnvironment.SetStandardLightBlueDataDirectory(); _containerPath = Path.Combine( StandaloneEnvironment.LightBlueDataDirectory, "dev", "blob", "testcontainer"); }
public void Dispose() { StandaloneEnvironment.SetStandardLightBlueDataDirectory(); if (string.IsNullOrWhiteSpace(_appDataDirectory) || !Directory.Exists(_appDataDirectory)) { return; } var tries = 0; while (tries++ < 2) { try { Directory.Delete(_appDataDirectory, true); return; } catch (IOException) {} }