public CommonTestFixture() { try { UndoContext.Current.Start("DataLakeStoreFileSystem.Tests.FileSystemOperationTests", "FixtureSetup"); var dataLakeStoreFilesystemManagementHelper = new DataLakeStoreFileSystemManagementHelper(this); dataLakeStoreFilesystemManagementHelper.TryRegisterSubscriptionForResource(); ResourceGroupName = TestUtilities.GenerateName("adlfsrg1"); DataLakeStoreFileSystemAccountName = TestUtilities.GenerateName("testadlfs1"); dataLakeStoreFilesystemManagementHelper.TryCreateResourceGroup(ResourceGroupName, Location); // create the DataLake account in the resource group and establish the host URL to use. this.HostUrl = dataLakeStoreFilesystemManagementHelper.TryCreateDataLakeStoreAccount(this.ResourceGroupName, this.Location, this.DataLakeStoreFileSystemAccountName); } catch { Cleanup(); throw; } finally { TestUtilities.EndTest(); } }
public CommonTestFixture() { try { UndoContext.Current.Start("DataLakeStoreFileSystem.Tests.FileSystemOperationTests", "FixtureSetup"); var dataLakeStoreFilesystemManagementHelper = new DataLakeStoreFileSystemManagementHelper(this); dataLakeStoreFilesystemManagementHelper.TryRegisterSubscriptionForResource(); ResourceGroupName = TestUtilities.GenerateName("adlfsrg1"); DataLakeStoreFileSystemAccountName = TestUtilities.GenerateName("testadlfs1"); dataLakeStoreFilesystemManagementHelper.TryCreateResourceGroup(ResourceGroupName, Location); // create the DataLake account in the resource group and establish the host URL to use. this.HostUrl = dataLakeStoreFilesystemManagementHelper.TryCreateDataLakeStoreAccount(this.ResourceGroupName, this.Location, this.DataLakeStoreFileSystemAccountName); } catch { Cleanup(); throw; } finally { TestUtilities.EndTest(); } }