File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Nest.Tests.Integration/Reproduce Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ public void NoSearchResults()
4242
4343 //indexing is NRT so issueing a search
4444 //right after indexing might not return the documents just yet.
45- this . _client . Refresh ( ) ;
45+ var refreshResult = this . _client . Refresh ( ) ;
46+ Assert . True ( refreshResult . IsValid ) ;
4647
4748 var results = this . _client . Search < Post > ( s => s
4849 . Index ( index )
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public IIndicesShardResponse Refresh<T>() where T : class
4141 }
4242 private IndicesShardResponse _Refresh ( string path )
4343 {
44- var status = this . Connection . GetSync ( path ) ;
44+ var status = this . Connection . PostSync ( path , null ) ;
4545 var r = this . Deserialize < IndicesShardResponse > ( status ) ;
4646 return r ;
4747 }
You can’t perform that action at this time.
0 commit comments