Class AclLinterCliTest


@ContextConfiguration @TestExecutionListeners(value=org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener.class, mergeMode=MERGE_WITH_DEFAULTS) public class AclLinterCliTest extends BaseCliTest5
  • 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()