public static void StopAzureAfterAllTestsIfWasDown() { if (!_wasUp) { AzureStorageEmulatorManager.StopStorageEmulator(); } else { // Leave as it was before testing... } }
public static void StopAzureAfterAllTestsIfWasDown() { if (!string.IsNullOrEmpty(Environment.GetEnvironmentVariable("StorageConnectionString"))) { return; } if (!_wasUp) { AzureStorageEmulatorManager.StopStorageEmulator(); } else { // Leave as it was before testing... } }