File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Tests/Nest.Tests.Integration Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public class SniffTests : IntegrationTests
1818 [ Test ]
1919 public void IndexExistShouldNotThrowOn404 ( )
2020 {
21- var host = ElasticsearchConfiguration . DefaultIndex ;
21+ var host = ElasticsearchConfiguration . Host ;
2222 if ( Process . GetProcessesByName ( "fiddler" ) . Any ( ) )
2323 host = "ipv4.fiddler" ;
2424 var connectionPool = new SniffingConnectionPool ( new [ ] { new Uri ( "http://{0}:9200" . F ( host ) ) } ) ;
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public void GetInvalidIndexShouldReturnNull()
3333 public void GetInvalidIndexShouldThrow_OnClientThatThrows ( )
3434 {
3535 const string indexName = "indexthatdoesnotexist" ;
36- var e = Assert . Throws < ElasticsearchServerException > ( ( ) => this . Client . Source < ElasticsearchProject > ( 4 , indexName ) ) ;
36+ var e = Assert . Throws < ElasticsearchServerException > ( ( ) => this . ClientThatThrows . Source < ElasticsearchProject > ( 4 , indexName ) ) ;
3737 e . ExceptionType . Should ( ) . Be ( "IndexMissingException" ) ;
3838
3939 }
You can’t perform that action at this time.
0 commit comments