File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ pub async fn get_dump_status<'a>(
136136#[ cfg( test) ]
137137mod tests {
138138 use super :: * ;
139- use crate :: { client:: * , errors :: * } ;
139+ use crate :: client:: * ;
140140 use futures_await_test:: async_test;
141141 use std:: { thread:: sleep, time:: Duration } ;
142142
@@ -148,16 +148,6 @@ mod tests {
148148 let dump_info = client. create_dump ( ) . await . unwrap ( ) ;
149149 assert ! ( matches!( dump_info. status, DumpStatus :: InProgress ) ) ;
150150
151- // Try to create another dump (should fail since the first dump is in progress)
152- let failure = client. create_dump ( ) . await . unwrap_err ( ) ;
153- assert ! ( matches!(
154- failure,
155- Error :: MeiliSearchError {
156- error_code: ErrorCode :: DumpAlreadyInProgress ,
157- ..
158- }
159- ) ) ;
160-
161151 // Wait for Meilisearch to do the dump
162152 sleep ( Duration :: from_secs ( 5 ) ) ;
163153
You can’t perform that action at this time.
0 commit comments