Skip to content

Commit

Permalink
Removed internal and failing YAML tests on Fieldtype
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed May 3, 2022
1 parent c75d7ff commit 9cc3836
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion util/YamlTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,24 @@ class YamlTests
const YAML_FILES_TO_OMIT = [
'platinum/eql/10_basic.yml',
'free/cluster.desired_nodes/10_basic.yml', // use of _internal API
'free/health/10_basic.yml' // use of _internal API
];

const SKIPPED_TEST_OSS = [
'Cat\Nodeattrs\_10_BasicTest::TestCatNodesAttrsOutput' => 'Regexp error, it seems not compatible with PHP',
'Cat\Shards\_10_BasicTest::TestCatShardsOutput' => 'Regexp error, it seems not compatible with PHP',
'Cat\Templates\_10_BasicTest::FilteredTemplates' => 'regex mismatch',
'Cat\Templates\_10_BasicTest::SelectColumns' => 'regex mismatch',
'Search\Aggregation\_10_HistogramTest::HistogramProfiler' => "Error reading 'n' field from YAML",
'FieldCaps\_50_Fieldtype_FilterTest::NoFiltersIncludesAllTheFollowingFields' => 'Bool mismatch',
'FieldCaps\_50_Fieldtype_FilterTest::ExcludeParentObjects' => 'Bool mismatch',
'FieldCaps\_50_Fieldtype_FilterTest::ExcludeMultifields' => 'Bool mismatch',
'FieldCaps\_50_Fieldtype_FilterTest::ExcludeMultifieldsButIncludeRuntimeFields' => 'Bool mismatch',
'Indices\GetAlias\_10_BasicTest::GetAliasAgainstClosedIndices' => 'Failed asserting that true is false',
'Indices\GetIndexTemplate\_10_BasicTest::*' => 'Bool mismatch',
'Indices\PutTemplate\_10_BasicTest::PutTemplateCreate' => 'index_template [test] already exists',
'Indices\Refresh\_10_BasicTest::IndicesRefreshTestEmptyArray' => 'empty array?',
'Indices\SimulateIndexTemplate\_10_BasicTest::SimulateIndexTemplateWithIndexNotMatchingAnyTemplate' => 'Bool mismatch',
'Search\Aggregation\_10_HistogramTest::HistogramProfiler' => "Error reading 'n' field from YAML",
'Snapshot\Create\_10_BasicTest::CreateASnapshot' => 'Invalid snapshot name [test_snapshot]',
'Snapshot\Create\_10_BasicTest::CreateASnapshotAndCleanUpRepository' => 'Invalid snapshot name [test_snapshot]',
];
Expand Down

0 comments on commit 9cc3836

Please sign in to comment.