Skip to content

Commit 88c7aa0

Browse files
committed
Removed nested gitignore file under src/ and checked in missing Debug unit tests due to it matching a gitignore rule
1 parent 0f4ec27 commit 88c7aa0

File tree

5 files changed

+33
-35
lines changed

5 files changed

+33
-35
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*.userprefs
1+
*.userprefs
22
*.local.xml
33
*.sln.docstates
44
*.obj
@@ -20,8 +20,9 @@
2020
*.ilk
2121
*.log
2222
*.nupkg
23+
*.ncrunchsolution
2324
[Bb]in
24-
[Dd]ebug*/
25+
[Dd]ebug/
2526
test-results
2627
test-results/*
2728
*.lib

src/.gitignore

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/Elasticsearch.sln

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nest.Tests.Integration", "T
88
EndProject
99
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Documentation", "_Documentation", "{E30CA256-C9A8-487A-94B7-D6B79D70F774}"
1010
ProjectSection(SolutionItems) = preProject
11+
..\new_docs\config.json = ..\new_docs\config.json
1112
..\license.txt = ..\license.txt
13+
..\new_docs\package.json = ..\new_docs\package.json
1214
..\README.markdown = ..\README.markdown
1315
EndProjectSection
1416
EndProject
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Security.Cryptography.X509Certificates;
5+
using System.Text;
6+
using Nest.Tests.MockData.Domain;
7+
using NUnit.Framework;
8+
9+
namespace Nest.Tests.Integration.Debug
10+
{
11+
[TestFixture]
12+
public class MemoryUsageTests : IntegrationSetup
13+
{
14+
[Test]
15+
public void DeserializeOfStreamDoesNotHoldACopyOfTheResponse()
16+
{
17+
var uri = ElasticsearchConfiguration.CreateBaseUri();
18+
var settings = new ConnectionSettings(uri, ElasticsearchConfiguration.DefaultIndex);
19+
IElasticClient client = new ElasticClient(settings);
20+
21+
var results = client.Search<ElasticsearchProject>(s => s.MatchAll());
22+
23+
24+
}
25+
26+
}
27+
}

src/Tests/Nest.Tests.Integration/Nest.Tests.Integration.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<Compile Include="Core\Bulk\BulkTests.cs" />
8686
<Compile Include="Core\Bulk\BulkUpdateTests.cs" />
8787
<Compile Include="Core\MultiSearch\MultiSearchTests.cs" />
88-
<Compile Include="Debug\MemoryUsageTests.cs" />
88+
<Compile Include="DebugTests\MemoryUsageTests.cs" />
8989
<Compile Include="ElasticsearchConfiguration.cs" />
9090
<Compile Include="Core\IndexTests.cs" />
9191
<Compile Include="Help\AliasTests.cs" />

0 commit comments

Comments
 (0)