mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
ACS-960 Disable very frequent intermittent test failures (#187)
Part of Epic: ACS-959 Fix or suppress the content repository's intermittent test failures
This commit is contained in:
@@ -149,6 +149,7 @@ public class DeleteTreeTests extends CmisTest
|
||||
.createFile(testFile).and().assertThat().existsInRepo()
|
||||
.and().checkOut()
|
||||
.when().usingResource(parentTestFolder).deleteFolderTree(true, UnfileObject.DELETESINGLEFILED, true)
|
||||
/* @Category(IntermittentlyFailingTests.class) ACS-959 Intermittent failure on next line. @Category not supported by TAS tests. */
|
||||
.and().assertThat().doesNotExistInRepo()
|
||||
.then().usingResource(childTestFolder).assertThat().doesNotExistInRepo()
|
||||
.usingResource(testFile).assertThat().doesNotExistInRepo();
|
||||
|
@@ -64,6 +64,7 @@ public class GetChildrenTests extends CmisTest
|
||||
@Test(groups = { TestGroup.REGRESSION, TestGroup.CMIS} , expectedExceptions = CmisObjectNotFoundException.class)
|
||||
public void getChildrenFromDeletedFolder() throws Exception
|
||||
{
|
||||
/* @Category(IntermittentlyFailingTests.class) ACS-959 Intermittent failure. @Category not supported by TAS tests. */
|
||||
cmisApi.authenticateUser(testUser).usingSite(testSite)
|
||||
.createFolder(testFolder)
|
||||
.and().usingResource(testFolder)
|
||||
|
@@ -86,6 +86,7 @@ public class IntegrationFullTests extends IntegrationTest
|
||||
SiteModel testSite = dataSite.usingUser(testUser).createIMAPSite();
|
||||
FileModel testFile = dataContent.usingUser(testUser).usingSite(testSite).createContent(FileModel.getRandomFileModel(FileType.TEXT_PLAIN));
|
||||
imapProtocol.authenticateUser(testUser).usingSite(testSite).usingResource(testFile).deleteMessage();
|
||||
/* @Category(IntermittentlyFailingTests.class) ACS-959 Intermittent failure on next line. @Category not supported by TAS tests. */
|
||||
cmisAPI.authenticateUser(testUser).usingSite(testSite).usingResource(testFile).rename("new file name");
|
||||
}
|
||||
|
||||
|
@@ -28,6 +28,7 @@ import org.alfresco.utility.model.TestGroup;
|
||||
import org.alfresco.utility.model.UserModel;
|
||||
import org.alfresco.utility.testrail.ExecutionType;
|
||||
import org.alfresco.utility.testrail.annotation.TestRail;
|
||||
import org.junit.experimental.categories.Category;
|
||||
import org.springframework.http.HttpMethod;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.testng.Assert;
|
||||
@@ -458,6 +459,8 @@ public class IntegrationFullTests1 extends IntegrationTest
|
||||
ftpProtocol.authenticateUser(testUser).usingSite(testSitePublic).usingResource(file1).update(newContent)
|
||||
.assertThat().contentIs(newContent);
|
||||
|
||||
/* @Category(FrequentlyFailingTests.class) ACS-965 - @Category not supported by TAS tests, so commenting out for now
|
||||
|
||||
STEP("8. U1 adds tags to file1 using RestAPI");
|
||||
String newTag = RandomData.getRandomName("tag");
|
||||
RestTagModel tag = restAPI.authenticateUser(testUser).withCoreAPI().usingResource(file1).addTag(newTag);
|
||||
@@ -473,5 +476,7 @@ public class IntegrationFullTests1 extends IntegrationTest
|
||||
.assertThat().contentPropertyHasValue("cmis:name", newName)
|
||||
.assertThat().contentPropertyHasValue("cm:taggable", tag.getId())
|
||||
.assertThat().contentIs(newContent);
|
||||
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
@@ -242,7 +242,8 @@ public class AddCommentsTests extends RestTest
|
||||
restClient.assertStatusCodeIs(HttpStatus.METHOD_NOT_ALLOWED).assertLastError().containsSummary(RestErrorModel.CANNOT_COMMENT);
|
||||
}
|
||||
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.REGRESSION,
|
||||
/* @Category(FrequentlyFailingTests.class) ACS-968 - @Category not supported by TAS tests, so commenting out for now
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Verify that comments cannot be added to a tag")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.REGRESSION })
|
||||
public void addCommentsToATag() throws JsonToModelConversionException, Exception
|
||||
@@ -257,6 +258,7 @@ public class AddCommentsTests extends RestTest
|
||||
|
||||
restClient.assertStatusCodeIs(HttpStatus.METHOD_NOT_ALLOWED).assertLastError().containsSummary(RestErrorModel.CANNOT_COMMENT);
|
||||
}
|
||||
*/
|
||||
|
||||
@TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION,
|
||||
description= "Using Manager user verify that you can provide a large string for one comment")
|
||||
|
Reference in New Issue
Block a user