Class AclLinterCliTest
java.lang.Object
ubic.gemma.core.util.test.BaseTest5
ubic.gemma.cli.util.test.BaseCliTest5
ubic.gemma.apps.AclLinterCliTest
@ContextConfiguration
@TestExecutionListeners(value=org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener.class,
mergeMode=MERGE_WITH_DEFAULTS)
public class AclLinterCliTest
extends BaseCliTest5
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidNaming no check keeps the previous behaviour: all five run.voidNaming one check must run only that one.voidvoidtearDown()
-
Constructor Details
-
AclLinterCliTest
public AclLinterCliTest()
-
-
Method Details
-
tearDown
@AfterEach public void tearDown() -
multipleIdentifiers_lintEachOne
@Test @WithMockUser public void multipleIdentifiers_lintEachOne() -
namingOneCheck_runsOnlyThatCheck
@Test @WithMockUser public void namingOneCheck_runsOnlyThatCheck()Naming one check must run only that one. The parent-link repair has to be able to run with a read-only outer transaction: lintAcls is @Transactional, and running the identity-creating checks in the same call leaves the outer transaction holding row locks that the repair's nested REQUIRES_NEW batches then wait on forever — "Lock wait timeout exceeded" on a production run of 631,709 BioAssay identities, 2026-08-30. -
namingNoCheck_runsThemAll
@Test @WithMockUser public void namingNoCheck_runsThemAll()Naming no check keeps the previous behaviour: all five run. -
singleIdentifier_stillWorks
@Test @WithMockUser public void singleIdentifier_stillWorks()
-