public ResizeClusterTests()
        {
            base.SetupTestsForManagement();

            cmdlet = new SetAzureHDInsightClusterSizeCommand
            {
                CommandRuntime = commandRuntimeMock.Object,
                HDInsightManagementClient = hdinsightManagementMock.Object,
                ClusterName = ClusterName,
                ResourceGroupName = ResourceGroupName,
                TargetInstanceCount = targetcount
            };
        }
Exemplo n.º 2
0
        public ResizeClusterTests()
        {
            base.SetupTestsForManagement();

            cmdlet = new SetAzureHDInsightClusterSizeCommand
            {
                CommandRuntime            = commandRuntimeMock.Object,
                HDInsightManagementClient = hdinsightManagementMock.Object,
                ClusterName         = ClusterName,
                ResourceGroupName   = ResourceGroupName,
                TargetInstanceCount = targetcount
            };
        }
        public ResizeClusterTests(Xunit.Abstractions.ITestOutputHelper output)
        {
            ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
            base.SetupTestsForManagement();

            cmdlet = new SetAzureHDInsightClusterSizeCommand
            {
                CommandRuntime            = commandRuntimeMock.Object,
                HDInsightManagementClient = hdinsightManagementMock.Object,
                ClusterName         = ClusterName,
                ResourceGroupName   = ResourceGroupName,
                TargetInstanceCount = targetcount
            };
        }
Exemplo n.º 4
0
        public ResizeClusterTests(Xunit.Abstractions.ITestOutputHelper output)
        {
            ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
            base.SetupTestsForManagement();

            cmdlet = new SetAzureHDInsightClusterSizeCommand
            {
                CommandRuntime = commandRuntimeMock.Object,
                HDInsightManagementClient = hdinsightManagementMock.Object,
                ClusterName = ClusterName,
                ResourceGroupName = ResourceGroupName,
                TargetInstanceCount = targetcount
            };
        }