1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 04:41:16 +00:00

Fixed test logic.

This commit is contained in:
Felix Ableitner 2016-02-11 14:07:05 +01:00
parent 994d397558
commit 25fc3a427c

View file

@ -92,7 +92,7 @@ public class FolderObserverTest extends AndroidTestCase
mLatch = new CountDownLatch(1); mLatch = new CountDownLatch(1);
testFile.createNewFile(); testFile.createNewFile();
mLatch.await(1, TimeUnit.SECONDS); mLatch.await(1, TimeUnit.SECONDS);
assertEquals(0, mLatch.getCount()); assertEquals(1, mLatch.getCount());
fo.stopWatching(); fo.stopWatching();
} }