Andreas Tille pushed to branch master at Debian Med / htsjdk
Commits: bcb2717f by Andreas Tille at 2018-09-18T12:21:34Z Skip test requiring http connection - - - - - 3 changed files: - debian/changelog - + debian/patches/92-disable-testhttp.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,10 +1,15 @@ htsjdk (2.16.1+dfsg-1) UNRELEASED; urgency=medium + [ Andreas Tille ] * New upstream version * debhelper 11 * Standards-Version: 4.2.1 + * Skip test requiring http connection + + [ Olivier Sallou ] + * Skip test requiring ftp connection - -- Andreas Tille <[email protected]> Mon, 17 Sep 2018 16:01:03 +0200 + -- Andreas Tille <[email protected]> Tue, 18 Sep 2018 11:00:54 +0200 htsjdk (2.14.3+dfsg-3) unstable; urgency=medium ===================================== debian/patches/92-disable-testhttp.patch ===================================== @@ -0,0 +1,35 @@ +Author: Andreas Tille <[email protected]> +Date: Wed Sep 18 14:28:01 2018 +0200 +Description: Skip test requiring http connection + +--- a/src/test/java/htsjdk/samtools/util/BlockCompressedInputStreamTest.java ++++ b/src/test/java/htsjdk/samtools/util/BlockCompressedInputStreamTest.java +@@ -149,28 +149,6 @@ public class BlockCompressedInputStreamT + return linesWritten; + } + +- @DataProvider(name = "customInflaterInput") +- public Object[][] customInflateInput() throws IOException { +- final File tempFile = File.createTempFile("testCustomInflater.", ".bam"); +- tempFile.deleteOnExit(); +- final List<String> linesWritten = writeTempBlockCompressedFileForInflaterTest(tempFile); +- +- final InflaterFactory countingInflaterFactory = new CountingInflaterFactory(); +- +- return new Object[][]{ +- // set the default InflaterFactory to a CountingInflaterFactory +- {(CheckedExceptionInputStreamSupplier) () -> new BlockCompressedInputStream(new FileInputStream(tempFile), false), linesWritten, 4, countingInflaterFactory}, +- {(CheckedExceptionInputStreamSupplier) () -> new BlockCompressedInputStream(tempFile), linesWritten, 4, countingInflaterFactory}, +- {(CheckedExceptionInputStreamSupplier) () -> new AsyncBlockCompressedInputStream(tempFile), linesWritten, 4, countingInflaterFactory}, +- {(CheckedExceptionInputStreamSupplier) () -> new BlockCompressedInputStream(new URL("http://broadinstitute.github.io/picard/testdata/index_test.bam")), null, 21, countingInflaterFactory}, +- // provide a CountingInflaterFactory explicitly +- {(CheckedExceptionInputStreamSupplier) () -> new BlockCompressedInputStream(new FileInputStream(tempFile), false, countingInflaterFactory), linesWritten, 4, null}, +- {(CheckedExceptionInputStreamSupplier) () -> new BlockCompressedInputStream(tempFile, countingInflaterFactory), linesWritten, 4, null}, +- {(CheckedExceptionInputStreamSupplier) () -> new AsyncBlockCompressedInputStream(tempFile, countingInflaterFactory), linesWritten, 4, null}, +- {(CheckedExceptionInputStreamSupplier) () -> new BlockCompressedInputStream(new URL("http://broadinstitute.github.io/picard/testdata/index_test.bam"), countingInflaterFactory), null, 21, null} +- }; +- } +- + @Test(dataProvider = "customInflaterInput", singleThreaded = true) + public void testCustomInflater(final CheckedExceptionInputStreamSupplier bcisSupplier, + final List<String> expectedOutput, ===================================== debian/patches/series ===================================== @@ -8,3 +8,4 @@ 70-removesometests-testng.patch 80-2to3.patch 90-disable-testftp.patch +92-disable-testhttp.patch View it on GitLab: https://salsa.debian.org/med-team/htsjdk/commit/bcb2717f48207e8b96f709803a36eb50f40c095f -- View it on GitLab: https://salsa.debian.org/med-team/htsjdk/commit/bcb2717f48207e8b96f709803a36eb50f40c095f You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
