Skip to content

Commit 4559f41

Browse files
committed
#ifdef indentation
1 parent 0a66c5b commit 4559f41

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

build/scripts/Building.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Build() =
1818
|> Seq.iter(fun p ->
1919
let path = Paths.ProjectJson p.Name
2020
let o = Paths.ProjectOutputFolder p DotNetFramework.NetStandard1_3
21-
DotNet.Exec ["restore"; path; "--verbosity Warning"]
21+
DotNet.Exec ["restore"; path]
2222
DotNet.Exec ["build"; path; "--configuration Release"; "-o"; o; "-f"; DotNetFramework.NetStandard1_3.Identifier.MSBuild]
2323
)
2424

build/scripts/Testing.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ module Tests =
1414
DotNetProject.All
1515
|> Seq.iter(fun p ->
1616
let path = Paths.ProjectJson p.Name
17-
DotNet.Exec ["restore"; path; "--verbosity Warning"]
17+
DotNet.Exec ["restore"; path]
1818
)
1919

2020
let testPath = Paths.Source "Tests/project.json"
21-
DotNet.Exec ["restore"; testPath; "--verbosity Warning"]
21+
DotNet.Exec ["restore"; testPath]
2222
DotNet.Exec ["build"; testPath; "--configuration Release"; "-f"; "netcoreapp1.0"]
2323
DotNet.Exec ["test"; testPath; "-parallel"; parallelization; "-xml"; Paths.Output("TestResults-Core-Clr.xml")]
2424

src/Elasticsearch.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Build", "_Build", "{432D55
1414
..\build.sh = ..\build.sh
1515
..\contributing.md = ..\contributing.md
1616
..\build\Elasticsearch.Net.nuspec = ..\build\Elasticsearch.Net.nuspec
17+
global.json = global.json
1718
..\license.txt = ..\license.txt
1819
..\build\NEST.nuspec = ..\build\NEST.nuspec
1920
..\paket.bat = ..\paket.bat

src/Tests/ClientConcepts/Connection/CustomConnections.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public void OverrideHow()
5555
* Remember though that we reuse TCP connections so changing this to something really high should only be done with careful consideration.
5656
*/
5757

58+
#if !DOTNETCORE
5859
public class MySpecialHttpConnection : HttpConnection
5960
{
6061
protected override void AlterServicePoint(ServicePoint requestServicePoint, RequestData requestData)
@@ -63,7 +64,7 @@ protected override void AlterServicePoint(ServicePoint requestServicePoint, Requ
6364
requestServicePoint.ConnectionLimit = 10000;
6465
requestServicePoint.UseNagleAlgorithm = true;
6566
}
66-
6767
}
68+
#endif
6869
}
6970
}

src/Tests/Framework/Xunit/TestAssemblyRunner.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ orderby g.Count() descending
5252

5353
//If we are not running any integration tests we do not care about only keeping a single IClusterFixture
5454
//active at a time, so let xunit do what it does best.
55-
if (!TestClient.Configuration.RunIntegrationTests)
56-
{
57-
var result = await base.RunTestCollectionsAsync(messageBus, cancellationTokenSource);
58-
foreach (var g in grouped) g.Key?.Dispose();
59-
return result;
60-
}
55+
//if (!TestClient.Configuration.RunIntegrationTests)
56+
//{
57+
// var result = await base.RunTestCollectionsAsync(messageBus, cancellationTokenSource);
58+
// foreach (var g in grouped) g.Key?.Dispose();
59+
// return result;
60+
//}
6161

6262
//threading guess
6363
var defaultMaxConcurrency = Environment.ProcessorCount * 4;

0 commit comments

Comments
 (0)