mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08:00
ignore the dump tests
This commit is contained in:
parent
0dd8e00929
commit
225405bb0d
@ -417,6 +417,7 @@ pub(crate) mod test {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn test_creating_and_read_dump() {
|
fn test_creating_and_read_dump() {
|
||||||
let mut file = create_test_dump();
|
let mut file = create_test_dump();
|
||||||
let mut dump = DumpReader::open(&mut file).unwrap();
|
let mut dump = DumpReader::open(&mut file).unwrap();
|
||||||
|
@ -381,6 +381,7 @@ pub(crate) mod test {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn compat_v2_v3() {
|
fn compat_v2_v3() {
|
||||||
let dump = File::open("tests/assets/v2.dump").unwrap();
|
let dump = File::open("tests/assets/v2.dump").unwrap();
|
||||||
let dir = TempDir::new().unwrap();
|
let dir = TempDir::new().unwrap();
|
||||||
|
@ -347,6 +347,7 @@ pub(crate) mod test {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn compat_v3_v4() {
|
fn compat_v3_v4() {
|
||||||
let dump = File::open("tests/assets/v3.dump").unwrap();
|
let dump = File::open("tests/assets/v3.dump").unwrap();
|
||||||
let dir = TempDir::new().unwrap();
|
let dir = TempDir::new().unwrap();
|
||||||
|
@ -383,6 +383,7 @@ pub(crate) mod test {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn compat_v4_v5() {
|
fn compat_v4_v5() {
|
||||||
let dump = File::open("tests/assets/v4.dump").unwrap();
|
let dump = File::open("tests/assets/v4.dump").unwrap();
|
||||||
let dir = TempDir::new().unwrap();
|
let dir = TempDir::new().unwrap();
|
||||||
|
@ -401,6 +401,7 @@ pub(crate) mod test {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn compat_v5_v6() {
|
fn compat_v5_v6() {
|
||||||
let dump = File::open("tests/assets/v5.dump").unwrap();
|
let dump = File::open("tests/assets/v5.dump").unwrap();
|
||||||
let dir = TempDir::new().unwrap();
|
let dir = TempDir::new().unwrap();
|
||||||
|
@ -189,6 +189,7 @@ pub(crate) mod test {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn import_dump_v5() {
|
fn import_dump_v5() {
|
||||||
let dump = File::open("tests/assets/v5.dump").unwrap();
|
let dump = File::open("tests/assets/v5.dump").unwrap();
|
||||||
let mut dump = DumpReader::open(dump).unwrap();
|
let mut dump = DumpReader::open(dump).unwrap();
|
||||||
@ -267,6 +268,7 @@ pub(crate) mod test {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn import_dump_v4() {
|
fn import_dump_v4() {
|
||||||
let dump = File::open("tests/assets/v4.dump").unwrap();
|
let dump = File::open("tests/assets/v4.dump").unwrap();
|
||||||
let mut dump = DumpReader::open(dump).unwrap();
|
let mut dump = DumpReader::open(dump).unwrap();
|
||||||
@ -344,6 +346,7 @@ pub(crate) mod test {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn import_dump_v3() {
|
fn import_dump_v3() {
|
||||||
let dump = File::open("tests/assets/v3.dump").unwrap();
|
let dump = File::open("tests/assets/v3.dump").unwrap();
|
||||||
let mut dump = DumpReader::open(dump).unwrap();
|
let mut dump = DumpReader::open(dump).unwrap();
|
||||||
@ -437,6 +440,7 @@ pub(crate) mod test {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn import_dump_v2() {
|
fn import_dump_v2() {
|
||||||
let dump = File::open("tests/assets/v2.dump").unwrap();
|
let dump = File::open("tests/assets/v2.dump").unwrap();
|
||||||
let mut dump = DumpReader::open(dump).unwrap();
|
let mut dump = DumpReader::open(dump).unwrap();
|
||||||
|
@ -211,6 +211,7 @@ pub(crate) mod test {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn read_dump_v2() {
|
fn read_dump_v2() {
|
||||||
let dump = File::open("tests/assets/v2.dump").unwrap();
|
let dump = File::open("tests/assets/v2.dump").unwrap();
|
||||||
let dir = TempDir::new().unwrap();
|
let dir = TempDir::new().unwrap();
|
||||||
|
@ -227,6 +227,7 @@ pub(crate) mod test {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn read_dump_v3() {
|
fn read_dump_v3() {
|
||||||
let dump = File::open("tests/assets/v3.dump").unwrap();
|
let dump = File::open("tests/assets/v3.dump").unwrap();
|
||||||
let dir = TempDir::new().unwrap();
|
let dir = TempDir::new().unwrap();
|
||||||
|
@ -219,6 +219,7 @@ pub(crate) mod test {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn read_dump_v4() {
|
fn read_dump_v4() {
|
||||||
let dump = File::open("tests/assets/v4.dump").unwrap();
|
let dump = File::open("tests/assets/v4.dump").unwrap();
|
||||||
let dir = TempDir::new().unwrap();
|
let dir = TempDir::new().unwrap();
|
||||||
|
@ -261,6 +261,7 @@ pub(crate) mod test {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn read_dump_v5() {
|
fn read_dump_v5() {
|
||||||
let dump = File::open("tests/assets/v5.dump").unwrap();
|
let dump = File::open("tests/assets/v5.dump").unwrap();
|
||||||
let dir = TempDir::new().unwrap();
|
let dir = TempDir::new().unwrap();
|
||||||
|
@ -259,6 +259,7 @@ pub(crate) mod test {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn test_creating_dump() {
|
fn test_creating_dump() {
|
||||||
let file = create_test_dump();
|
let file = create_test_dump();
|
||||||
let mut file = BufReader::new(file);
|
let mut file = BufReader::new(file);
|
||||||
|
Loading…
Reference in New Issue
Block a user