From bcdcf5b6c35431888126e61cf79751cd8983c4f7 Mon Sep 17 00:00:00 2001 From: April Shen Date: Thu, 10 Feb 2022 15:23:44 +0000 Subject: [PATCH] modify test --- .../accession/pipeline/batch/io/AccessionReportWriterTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/eva-accession-pipeline/src/test/java/uk/ac/ebi/eva/accession/pipeline/batch/io/AccessionReportWriterTest.java b/eva-accession-pipeline/src/test/java/uk/ac/ebi/eva/accession/pipeline/batch/io/AccessionReportWriterTest.java index 3aee49e5f..493bfd446 100644 --- a/eva-accession-pipeline/src/test/java/uk/ac/ebi/eva/accession/pipeline/batch/io/AccessionReportWriterTest.java +++ b/eva-accession-pipeline/src/test/java/uk/ac/ebi/eva/accession/pipeline/batch/io/AccessionReportWriterTest.java @@ -226,6 +226,7 @@ private void writeAndResumeAndWrite(String originalChromosome1, String contig1, accessionReportWriter.write(Collections.singletonList(variant), GetOrCreateAccessionWrapperCreator.convertToGetOrCreateAccessionWrapper( Collections.singletonList(accessionWrapper))); + accessionReportWriter.update(executionContext); accessionReportWriter.close(); // second writer