@Before public void setUp() throws IOException, InterruptedException { executorService = Executors.newScheduledThreadPool(5); // In case root_restrict_files is enabled in /etc/watchmanconfig, assume // this is one of the entries so it doesn't give up. tmp.newFolder(".git"); Watchman watchman = Watchman.build(tmp.getRootPath(), getWatchmanEnv(), new TestConsole(), new FakeClock(0)); // We assume watchman has been installed and configured properly on the system, and that setting // up the watch is successful. assumeFalse(watchman == Watchman.NULL_WATCHMAN); }