mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
Instead delete the data streams manually, until client yaml test runners have been updated to also delete all data streams after each yaml test. Relates to #53100
This commit is contained in:
parent
f55a361b64
commit
7f38b146b3
@ -430,4 +430,13 @@ public abstract class ESClientYamlSuiteTestCase extends ESRestTestCase {
|
||||
configureClient(builder, restClientSettings());
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected final boolean preserveDataStreamsUponCompletion() {
|
||||
// TODO: enable automatic deleting of data streams
|
||||
// For now don't automatically try to remove all data streams after each yaml test.
|
||||
// The client runners need to be adjust to remove data streams after each test too,
|
||||
// otherwise rest yaml tests using data streams succeed in Elasticsearch, but may fail when clients run
|
||||
// the yaml test suite. In the mean time we should delete data streams manually after each test.
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user