CRUNCH-318: Add sleep to fix CheckpointIT. Signed-off-by: Josh Wills <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/crunch/repo Commit: http://git-wip-us.apache.org/repos/asf/crunch/commit/ffe89ea3 Tree: http://git-wip-us.apache.org/repos/asf/crunch/tree/ffe89ea3 Diff: http://git-wip-us.apache.org/repos/asf/crunch/diff/ffe89ea3 Branch: refs/heads/apache-crunch-0.8 Commit: ffe89ea3f09c0c07dc17cb1f792b9f4535932ba1 Parents: 3da4123 Author: Ryan Blue <[email protected]> Authored: Thu Jan 2 16:10:32 2014 -0800 Committer: Josh Wills <[email protected]> Committed: Fri Jan 3 17:38:42 2014 -0800 ---------------------------------------------------------------------- crunch-core/src/it/java/org/apache/crunch/CheckpointIT.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/crunch/blob/ffe89ea3/crunch-core/src/it/java/org/apache/crunch/CheckpointIT.java ---------------------------------------------------------------------- diff --git a/crunch-core/src/it/java/org/apache/crunch/CheckpointIT.java b/crunch-core/src/it/java/org/apache/crunch/CheckpointIT.java index facbc72..c9f8a8f 100644 --- a/crunch-core/src/it/java/org/apache/crunch/CheckpointIT.java +++ b/crunch-core/src/it/java/org/apache/crunch/CheckpointIT.java @@ -39,6 +39,7 @@ public class CheckpointIT { @Test public void testCheckpoints() throws Exception { String inputPath = tmpDir.copyResourceFileName("shakes.txt"); + Thread.sleep(2000); Pipeline p = new MRPipeline(CheckpointIT.class); String inter = tmpDir.getFileName("intermediate"); PipelineResult one = run(p, tmpDir, inputPath, inter, false);
