You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by st...@apache.org on 2015/01/13 12:29:18 UTC
incubator-slider git commit: SLIDER-749 jenkins on windows failing:
rm dest file before rename operation
Repository: incubator-slider
Updated Branches:
refs/heads/develop dd6e3bf9f -> cd286c8c9
SLIDER-749 jenkins on windows failing: rm dest file before rename operation
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/cd286c8c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/cd286c8c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/cd286c8c
Branch: refs/heads/develop
Commit: cd286c8c9c38c8af9f56643150bf72cafecb2ff9
Parents: dd6e3bf
Author: Steve Loughran <st...@apache.org>
Authored: Tue Jan 13 11:29:10 2015 +0000
Committer: Steve Loughran <st...@apache.org>
Committed: Tue Jan 13 11:29:10 2015 +0000
----------------------------------------------------------------------
.../test/groovy/org/apache/slider/other/TestLocalDirStatus.groovy | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/cd286c8c/slider-core/src/test/groovy/org/apache/slider/other/TestLocalDirStatus.groovy
----------------------------------------------------------------------
diff --git a/slider-core/src/test/groovy/org/apache/slider/other/TestLocalDirStatus.groovy b/slider-core/src/test/groovy/org/apache/slider/other/TestLocalDirStatus.groovy
index 940e6f4..dfc8c03 100644
--- a/slider-core/src/test/groovy/org/apache/slider/other/TestLocalDirStatus.groovy
+++ b/slider-core/src/test/groovy/org/apache/slider/other/TestLocalDirStatus.groovy
@@ -111,7 +111,10 @@ class TestLocalDirStatus extends SliderTestUtils {
writeFile(src, dataset)
assert src.exists()
assert src.length() == len
+ dst.delete()
+ assert !dst.exists()
assert src.renameTo(dst)
+ assert dst.length() == len
def persisted = readFile(dst)
TestUtility.compareByteArrays(dataset, persisted, len)
}