Skip to content

Commit 1e9e2a2

Browse files
eyalkorenchrisparrinello
authored andcommitted
Disabling StackTemplateRegistryTests#testRegistryIsUpToDate on Windows (elastic#137307)
1 parent e2b3f57 commit 1e9e2a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

x-pack/plugin/stack/src/test/java/org/elasticsearch/xpack/stack/StackTemplateRegistryTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
package org.elasticsearch.xpack.stack;
99

10+
import org.apache.lucene.util.Constants;
1011
import org.elasticsearch.action.ActionListener;
1112
import org.elasticsearch.action.ActionRequest;
1213
import org.elasticsearch.action.ActionResponse;
@@ -538,6 +539,7 @@ public void testThatTemplatesAreNotDeprecated() {
538539
}
539540

540541
public void testRegistryIsUpToDate() throws Exception {
542+
assumeFalse("This test relies on text files checksum, which is inconsistent between Windows and Linux", Constants.WINDOWS);
541543
CRC32 crc32 = new CRC32();
542544
for (IndexTemplateConfig config : StackTemplateRegistry.getComponentTemplateConfigsAsConfigs()) {
543545
crc32.update(loadTemplate(config.getFileName()));

0 commit comments

Comments
 (0)