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); }
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(); }