public static void StopAzureAfterAllTestsIfWasDown()
 {
     if (!_wasUp)
     {
         AzureStorageEmulatorManager.StopStorageEmulator();
     }
     else
     {
         // Leave as it was before testing...
     }
 }
Пример #2
0
        public static void StopAzureAfterAllTestsIfWasDown()
        {
            if (!string.IsNullOrEmpty(Environment.GetEnvironmentVariable("StorageConnectionString")))
            {
                return;
            }

            if (!_wasUp)
            {
                AzureStorageEmulatorManager.StopStorageEmulator();
            }
            else
            {
                // Leave as it was before testing...
            }
        }