Thanks Huw, I'll try to fix it.

From: Huw Rowlands <notifications@github.com<mailto:notifications@github.com>>
Reply-To: nla/amberdb <reply@reply.github.com<mailto:reply@reply.github.com>>
Date: Friday, 13 December 2013 2:15 PM
To: nla/amberdb <amberdb@noreply.github.com<mailto:amberdb@noreply.github.com>>
Cc: Shuang Zhou <szhou@nla.gov.au<mailto:szhou@nla.gov.au>>
Subject: Re: [amberdb] Gen jp2 (#75)


In test/amberdb/model/MasterImageCopyTest.java:

> +    private static Path tiffUnCompressor = Paths.get("/opt/local/bin").resolve("convert");
> +    private static Path jp2Generator = Paths.get("/usr/bin").resolve("kdu_compress");
> +    private static Path stagingPath = Paths.get("/tmp");
> +    private static LocalBlobStore doss;
> +
> +    @Before
> +    public void setup() throws IOException, InstantiationException {
> +        resetTestData();
> +    }
> +
> +    @Test
> +    public void testDriveImage() {
> +        // MasterImageCopy mc = (MasterImageCopy) coverPageFor341935.getCopy(CopyRole.MASTER_COPY);
> +        Copy mc = coverPageFor341935.getCopy(CopyRole.MASTER_COPY);
> +        try {
> +            mc.deriveImageCopy(doss, tiffUnCompressor, jp2Generator, stagingPath);


This test doesn't pass and is breaking the build on Travis.

—
Reply to this email directly or view it on GitHub<https://github.com/nla/amberdb/pull/75/files#r8323359>.