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...
            }
        }