Fixed CHANGELOG and disable one test on windows (#577)

This commit is contained in:
Paul Masurel
2019-06-27 09:48:53 +09:00
committed by GitHub
parent ab4a8916d3
commit 3e0907fe05
2 changed files with 4 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ Arc<RwLock<IndexWriter>>`. `add_document` and `delete_term` can
only require a read lock. (@pmasurel)
- Introducing `Opstamp` as an expressive type alias for `u64`. (@petr-tik)
- Stamper now relies on `AtomicU64` on all platforms (@petr-tik)
- Bugfix - Files get deleted slightly earlier
## How to update?

View File

@@ -538,6 +538,9 @@ mod tests {
assert_eq!(count, 2);
}
// This test will not pass on windows, because windows
// prevent deleting files that are MMapped.
#[cfg(not(target_os = "windows"))]
#[test]
fn garbage_collect_works_as_intended() {
let directory = RAMDirectory::create();