Beispiel #1
0
        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);
        }
Beispiel #2
0
        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();
        }