コード例 #1
0
ファイル: StressTestCases.cs プロジェクト: DinoV/kudu
        public void StressGitRedeployScenario()
        {
            TestArtifacts testArtifacts = GetTestArtifacts(TestApplication.AppName, TestApplication.GitUrl);

            StressGitPushScenario();
            DoGitRedeploy(testArtifacts.appManager, TestApplication.FirstCommitID, TestApplication.VerificationContent);
            DoGitRedeploy(testArtifacts.appManager, TestApplication.SecondCommitID, TestApplication.VerificationContent);
        }
コード例 #2
0
ファイル: StressTestCases.cs プロジェクト: DinoV/kudu
        public void StressGitPushScenario()
        {
            TestArtifacts testArtifacts = GetTestArtifacts(TestApplication.AppName, TestApplication.GitUrl);

            // modify a file in the repository and push
            ModifyFile(Path.Combine(testArtifacts.testRespository.PhysicalPath, TestApplication.FileToModify));
            Git.Commit(testArtifacts.testRespository.PhysicalPath, "stress test change");
            DoGitPush(testArtifacts.appManager, testArtifacts.testRespository, TestApplication.AppName, TestApplication.VerificationContent);

            testArtifacts.resourceMonitor.CheckAndLogResourceUsage();
        }