Class EeWriteServiceImplExistingBioMaterialTest


public class EeWriteServiceImplExistingBioMaterialTest extends BaseSpringContextTest5
A new experiment must not attach its BioAssays to BioMaterials another experiment already uses.

BioMaterialDao.findOrCreate matches a sample with no accession and no description by name and taxon alone, so without the skip the second experiment below would share <prefix>_shared with the first. That is how HBCC_Cohort's 2026-09-29 re-add came to use 178 of Aging_Cohort's BioMaterials, after the skip was lost in the ExpressionPersister → EeWriteServiceImpl move.

  • Constructor Details

    • EeWriteServiceImplExistingBioMaterialTest

      public EeWriteServiceImplExistingBioMaterialTest()
  • Method Details

    • testSamplesWhoseBioMaterialsAlreadyExistAreSkipped

      @Test @Transactional public void testSamplesWhoseBioMaterialsAlreadyExistAreSkipped()