Skip to content

Commit f957f7f

Browse files
committed
Removed typed keys from test options
1 parent 20164bd commit f957f7f

File tree

7 files changed

+3
-25
lines changed

7 files changed

+3
-25
lines changed

src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Title>Elastic.Clients.Elasticsearch - Official Elasticsearch .NET Client</Title>
55
<PackageTags>elasticsearch;elastic;client;search</PackageTags>
66
<Description>
7-
This strongly-typed, client library enables working with Elasticsearch. It is the offical client maintained and supported by Elastic.
7+
This strongly-typed, client library enables working with Elasticsearch. It is the official client maintained and supported by Elastic.
88
</Description>
99
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
1010
</PropertyGroup>

tests/Tests.Configuration/EnvironmentConfiguration.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ public EnvironmentConfiguration(YamlConfiguration yamlConfiguration)
3131
Random = new RandomConfiguration
3232
{
3333
SourceSerializer = RandomBoolConfig("SOURCESERIALIZER", randomizer),
34-
TypedKeys = RandomBoolConfig("TYPEDKEYS", randomizer),
35-
HttpCompression = RandomBoolConfig("HTTPCOMPRESSION", randomizer),
34+
HttpCompression = RandomBoolConfig("HTTPCOMPRESSION", randomizer)
3635
};
3736
}
3837

tests/Tests.Configuration/TestConfigurationBase.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ public class RandomConfiguration
7171
/// <summary> Run tests with a custom source serializer rather than the build in one </summary>
7272
public bool SourceSerializer { get; set; }
7373

74-
/// <summary> Randomly enable typed keys on searches (defaults to true) on NEST search requests</summary>
75-
public bool TypedKeys { get; set; }
76-
7774
/// <summary> Randomly enable compression on the http requests</summary>
7875
public bool HttpCompression { get; set; }
7976
}

tests/Tests.Configuration/TestConfigurationExtensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public static void DumpConfiguration(this TestConfigurationBase config)
2727
Console.WriteLine($" - {nameof(config.RunUnitTests)}: {config.RunUnitTests}");
2828
Console.WriteLine($" - Random:");
2929
Console.WriteLine($" \t- {nameof(config.Random.SourceSerializer)}: {config.Random.SourceSerializer}");
30-
Console.WriteLine($" \t- {nameof(config.Random.TypedKeys)}: {config.Random.TypedKeys}");
3130
Console.WriteLine($" \t- {nameof(config.Random.HttpCompression)}: {config.Random.HttpCompression}");
3231
Console.WriteLine(new string('-', 20));
3332
}

tests/Tests.Configuration/YamlConfiguration.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ public YamlConfiguration(string configurationFile)
3737
Random = new RandomConfiguration
3838
{
3939
SourceSerializer = RandomBool("source_serializer", randomizer),
40-
TypedKeys = RandomBool("typed_keys", randomizer),
41-
HttpCompression = RandomBool("http_compression", randomizer),
40+
HttpCompression = RandomBool("http_compression", randomizer)
4241
};
4342
}
4443

tests/Tests.Core/Xunit/NeedsTypedKeysAttribute.cs

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

tests/Tests.Core/Xunit/NestXunitRunOptions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ bool runningIntegrations
110110
.Append("seed:").Append(config.Seed).Append(" ");
111111

112112
AppendConfig(nameof(RandomConfiguration.SourceSerializer), config.Random.SourceSerializer, sb);
113-
AppendConfig(nameof(RandomConfiguration.TypedKeys), config.Random.TypedKeys, sb);
114113
AppendConfig(nameof(RandomConfiguration.HttpCompression), config.Random.HttpCompression, sb);
115114

116115
if (runningIntegrations)

0 commit comments

Comments
 (0)