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>(
136
136
#[ cfg( test) ]
137
137
mod tests {
138
138
use super :: * ;
139
- use crate :: { client:: * , errors :: * } ;
139
+ use crate :: client:: * ;
140
140
use futures_await_test:: async_test;
141
141
use std:: { thread:: sleep, time:: Duration } ;
142
142
@@ -148,16 +148,6 @@ mod tests {
148
148
let dump_info = client. create_dump ( ) . await . unwrap ( ) ;
149
149
assert ! ( matches!( dump_info. status, DumpStatus :: InProgress ) ) ;
150
150
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
-
161
151
// Wait for Meilisearch to do the dump
162
152
sleep ( Duration :: from_secs ( 5 ) ) ;
163
153
You can’t perform that action at this time.
0 commit comments