File tree Expand file tree Collapse file tree 8 files changed +13
-10
lines changed
Modules/SnapshotAndRestore/Repositories/VerifyRepository
ClientConcepts/Exceptions Expand file tree Collapse file tree 8 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ type Release() =
122
122
let frameworkDirs = ( sprintf " %s /lib" unzippedDir |> directoryInfo) .GetDirectories()
123
123
for frameworkDir in frameworkDirs do
124
124
let frameworkPdbDir = sprintf " %s /%s " srcFolder frameworkDir.Name
125
- gitLink frameworkPdbDir
125
+ gitLink frameworkPdbDir projectName
126
126
let pdb = sprintf " %s .pdb" projectName
127
127
let frameworkPdbFile = sprintf " %s /%s " frameworkPdbDir pdb
128
128
if fileExists frameworkPdbFile
Original file line number Diff line number Diff line change 7811
7811
"runtime.win7.System.Net.Requests/4.0.11-beta-23516" : {
7812
7812
"type" : " package" ,
7813
7813
"serviceable" : true ,
7814
- "sha512" : " HI99nCEekL4SNvkLmpqkOE0PuEF5B6xyDcnJesdjo06BrGYH3QCvqJt2VmzBVe6hDSo6FnGOlhMvLdCUpDXiXA ==" ,
7814
+ "sha512" : " mqWBQUhXhzkiwb+zVUuKg+wswJUsnQtZkFtz6eISw8vWNXA9i2jkzYjU3pjjIVmtdopnhle9YaS4a/w4OuWGLw ==" ,
7815
7815
"files" : [
7816
7816
" ref/dotnet/_._" ,
7817
7817
" runtime.win7.System.Net.Requests.4.0.11-beta-23516.nupkg" ,
Original file line number Diff line number Diff line change 1739
1739
"runtime.win7.System.Net.Requests/4.0.11-beta-23516" : {
1740
1740
"type" : " package" ,
1741
1741
"serviceable" : true ,
1742
- "sha512" : " HI99nCEekL4SNvkLmpqkOE0PuEF5B6xyDcnJesdjo06BrGYH3QCvqJt2VmzBVe6hDSo6FnGOlhMvLdCUpDXiXA ==" ,
1742
+ "sha512" : " mqWBQUhXhzkiwb+zVUuKg+wswJUsnQtZkFtz6eISw8vWNXA9i2jkzYjU3pjjIVmtdopnhle9YaS4a/w4OuWGLw ==" ,
1743
1743
"files" : [
1744
1744
" ref/dotnet/_._" ,
1745
1745
" runtime.win7.System.Net.Requests.4.0.11-beta-23516.nupkg" ,
Original file line number Diff line number Diff line change 4
4
namespace Nest
5
5
{
6
6
[ JsonObject ( MemberSerialization . OptIn ) ]
7
- //[JsonConverter(typeof(GetRepositoryResponseConverter))]
8
7
public interface IVerifyRepositoryResponse : IResponse
9
8
{
10
9
/// <summary>
Original file line number Diff line number Diff line change 6
6
namespace Nest
7
7
{
8
8
[ JsonObject ( MemberSerialization = MemberSerialization . OptIn ) ]
9
- //[JsonConverter(typeof(DismaxQueryJsonConverter))]
10
9
[ JsonConverter ( typeof ( ReadAsTypeJsonConverter < DisMaxQuery > ) ) ]
11
10
public interface IDisMaxQuery : IQuery
12
11
{
Original file line number Diff line number Diff line change 2059
2059
"runtime.win7.System.Net.Requests/4.0.11-beta-23516" : {
2060
2060
"type" : " package" ,
2061
2061
"serviceable" : true ,
2062
- "sha512" : " HI99nCEekL4SNvkLmpqkOE0PuEF5B6xyDcnJesdjo06BrGYH3QCvqJt2VmzBVe6hDSo6FnGOlhMvLdCUpDXiXA ==" ,
2062
+ "sha512" : " mqWBQUhXhzkiwb+zVUuKg+wswJUsnQtZkFtz6eISw8vWNXA9i2jkzYjU3pjjIVmtdopnhle9YaS4a/w4OuWGLw ==" ,
2063
2063
"files" : [
2064
2064
" ref/dotnet/_._" ,
2065
2065
" runtime.win7.System.Net.Requests.4.0.11-beta-23516.nupkg" ,
Original file line number Diff line number Diff line change @@ -12,12 +12,17 @@ namespace Tests.ClientConcepts.Exceptions
12
12
[ Collection ( IntegrationContext . Indexing ) ]
13
13
public class ExceptionTests
14
14
{
15
- public ExceptionTests ( IndexingCluster cluster , EndpointUsage usage ) { }
15
+ private int _port ;
16
+
17
+ public ExceptionTests ( IndexingCluster cluster , EndpointUsage usage )
18
+ {
19
+ _port = cluster . Node . Port ;
20
+ }
16
21
17
22
[ I ]
18
23
public void ServerTestWhenThrowExceptionsEnabled ( )
19
24
{
20
- var settings = new ConnectionSettings ( new Uri ( $ "http://{ TestClient . Host } :9200 ") )
25
+ var settings = new ConnectionSettings ( new Uri ( $ "http://{ TestClient . Host } :{ _port } ") )
21
26
. ThrowExceptions ( ) ;
22
27
var client = new ElasticClient ( settings ) ;
23
28
var exception = Assert . Throws < ElasticsearchClientException > ( ( ) => client . GetMapping < Project > ( s => s . Index ( "doesntexist" ) ) ) ;
@@ -46,7 +51,7 @@ public void ClientTestWhenThrowExceptionsEnabled()
46
51
[ I ]
47
52
public void ServerTestWhenThrowExceptionsDisabled ( )
48
53
{
49
- var settings = new ConnectionSettings ( new Uri ( $ "http://{ TestClient . Host } :9200 ") ) ;
54
+ var settings = new ConnectionSettings ( new Uri ( $ "http://{ TestClient . Host } :{ _port } ") ) ;
50
55
var client = new ElasticClient ( settings ) ;
51
56
var response = client . GetMapping < Project > ( s => s . Index ( "doesntexist" ) ) ;
52
57
#if DOTNETCORE
Original file line number Diff line number Diff line change 6406
6406
"runtime.win7.System.Net.Requests/4.0.11-beta-23516" : {
6407
6407
"type" : " package" ,
6408
6408
"serviceable" : true ,
6409
- "sha512" : " HI99nCEekL4SNvkLmpqkOE0PuEF5B6xyDcnJesdjo06BrGYH3QCvqJt2VmzBVe6hDSo6FnGOlhMvLdCUpDXiXA ==" ,
6409
+ "sha512" : " mqWBQUhXhzkiwb+zVUuKg+wswJUsnQtZkFtz6eISw8vWNXA9i2jkzYjU3pjjIVmtdopnhle9YaS4a/w4OuWGLw ==" ,
6410
6410
"files" : [
6411
6411
" ref/dotnet/_._" ,
6412
6412
" runtime.win7.System.Net.Requests.4.0.11-beta-23516.nupkg" ,
You can’t perform that action at this time.
0 commit comments