Skip FileSnapshotTest#testSimulatePackfileReplacement on Windows
NTFS does not support FileKey hence ignore this test on Windows. Change-Id: I7b53a591daa5e03eb5e401b5b26d612ab68ce10d Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
1e8b68cbc5
commit
d31a0c0b5d
|
@ -54,7 +54,9 @@
|
|||
import java.util.List;
|
||||
|
||||
import org.eclipse.jgit.util.FileUtils;
|
||||
import org.eclipse.jgit.util.SystemReader;
|
||||
import org.junit.After;
|
||||
import org.junit.Assume;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
|
@ -138,6 +140,7 @@ public void testNewFileNoWait() throws Exception {
|
|||
*/
|
||||
@Test
|
||||
public void testSimulatePackfileReplacement() throws Exception {
|
||||
Assume.assumeFalse(SystemReader.getInstance().isWindows());
|
||||
File f1 = createFile("file"); // inode y
|
||||
File f2 = createFile("fool"); // Guarantees new inode x
|
||||
// wait on f2 since this method resets lastModified of the file
|
||||
|
|
Loading…
Reference in New Issue