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:
parent
994d397558
commit
25fc3a427c
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue