diff --git a/src/test/java/jenkins/plugins/git/GitSCMFileSystemTest.java b/src/test/java/jenkins/plugins/git/GitSCMFileSystemTest.java index 769693f29d..babce2be15 100644 --- a/src/test/java/jenkins/plugins/git/GitSCMFileSystemTest.java +++ b/src/test/java/jenkins/plugins/git/GitSCMFileSystemTest.java @@ -181,7 +181,7 @@ public void lastModified_Smokes() throws Exception { SCMRevision revision = source.fetch(new SCMHead("dev"), null); sampleRepo.write("file", "modified"); sampleRepo.git("commit", "--all", "--message=dev"); - final long fileSystemAllowedOffset = isWindows() ? 3000 : 1500; + final long fileSystemAllowedOffset = isWindows() ? 4000 : 1500; SCMFileSystem fs = SCMFileSystem.of(source, new SCMHead("dev"), revision); long currentTime = isWindows() ? System.currentTimeMillis() / 1000L * 1000L : System.currentTimeMillis(); long lastModified = fs.lastModified();