We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
InvalidArgument
1 parent c6b650d commit 9953793Copy full SHA for 9953793
src/test/bulk_write.rs
@@ -514,7 +514,7 @@ async fn too_large_client_error() {
514
.build();
515
516
let error = client.bulk_write(vec![model]).await.unwrap_err();
517
- assert!(!error.is_server_error());
+ assert!(error.is_invalid_argument());
518
519
// Case 2: namespace too large
520
let model = InsertOneModel::builder()
@@ -523,7 +523,7 @@ async fn too_large_client_error() {
523
524
525
526
527
}
528
529
// CRUD prose test 13
0 commit comments