File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public class GithubIssue2985 : IClusterFixture<WritableCluster>
1616 protected static string RandomString ( ) => Guid . NewGuid ( ) . ToString ( "N" ) . Substring ( 0 , 8 ) ;
1717
1818 [ I ]
19- public void CanReadSingleOrMultipleCommonGramsCommonWordsItem ( )
19+ public void BadRequestErrorShouldBeWrappedInElasticsearchClientException ( )
2020 {
2121 var client = _cluster . Client ;
2222 var index = $ "gh2985-{ RandomString ( ) } ";
@@ -31,8 +31,7 @@ public void CanReadSingleOrMultipleCommonGramsCommonWordsItem()
3131 ) ;
3232 response . OriginalException . Should ( ) . NotBeNull ( ) . And . BeOfType < ElasticsearchClientException > ( ) ;
3333 response . OriginalException . Message . Should ( )
34- . StartWith ( "Request failed to execute" )
35- . And . EndWith (
34+ . Contain (
3635 "Type: illegal_argument_exception Reason: \" Custom Analyzer [custom] failed to find filter under name [ascii_folding]\" "
3736 ) ;
3837
You can’t perform that action at this time.
0 commit comments