You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@crunch.apache.org by jw...@apache.org on 2014/01/03 02:53:40 UTC

git commit: CRUNCH-318: Add sleep to fix CheckpointIT.

Updated Branches:
  refs/heads/master 633438c1c -> b4cad9454


CRUNCH-318: Add sleep to fix CheckpointIT.

Signed-off-by: Josh Wills <jw...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/crunch/repo
Commit: http://git-wip-us.apache.org/repos/asf/crunch/commit/b4cad945
Tree: http://git-wip-us.apache.org/repos/asf/crunch/tree/b4cad945
Diff: http://git-wip-us.apache.org/repos/asf/crunch/diff/b4cad945

Branch: refs/heads/master
Commit: b4cad9454bac13761091298c0f2a2e470c40ab2d
Parents: 633438c
Author: Ryan Blue <rb...@cloudera.com>
Authored: Thu Jan 2 16:10:32 2014 -0800
Committer: Josh Wills <jw...@apache.org>
Committed: Thu Jan 2 17:53:31 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/b4cad945/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);