Page MenuHomePhabricator

Make jobprocessor's test not depend on external files
Open, MediumPublic


jobprocessor is one of kartotherian's sub packages. We noticed during testing stage after docker build, one of the test for jobprocessor fails due to inability to write files which seems to be a nodejs10-devel image issue. This same test runs perfectly locally and in normal builds. Let's modify this test to save the file contents in a variable.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 22 2019, 1:52 PM
Joe triaged this task as Medium priority.Aug 26 2019, 8:19 AM
Joe added a subscriber: Joe.
Joe added a comment.Aug 26 2019, 8:24 AM

@Mathew.onipe can I ask further details on the error you get? It should definitely not be an issue if the test works in a docker image locally.