From 82c14cddfab45c814273972946ec851234fa4431 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 5 Jan 2023 15:43:46 -0800 Subject: [PATCH] fix flaky integration tests for security analytics (#241) (#242) Signed-off-by: Subhobrata Dey --- .../securityanalytics/TestHelpers.java | 375 ------------------ 1 file changed, 375 deletions(-) diff --git a/src/test/java/org/opensearch/securityanalytics/TestHelpers.java b/src/test/java/org/opensearch/securityanalytics/TestHelpers.java index 1ea6c984d..1a07dbcda 100644 --- a/src/test/java/org/opensearch/securityanalytics/TestHelpers.java +++ b/src/test/java/org/opensearch/securityanalytics/TestHelpers.java @@ -1116,381 +1116,6 @@ public static String windowsIndexMapping() { " \"WorkstationName\": {\n" + " \"type\": \"text\"\n" + " },\n" + - " \"_0\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_1\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_10\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_100\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_101\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_102\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_103\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_104\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_105\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_106\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_107\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_108\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_109\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_11\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_110\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_111\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_112\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_113\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_114\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_115\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_116\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_117\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_118\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_119\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_12\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_120\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_121\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_122\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_123\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_124\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_13\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_14\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_15\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_16\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_17\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_18\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_19\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_2\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_20\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_21\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_22\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_23\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_24\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_25\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_26\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_27\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_28\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_29\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_3\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_30\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_31\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_32\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_33\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_34\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_35\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_36\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_37\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_38\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_39\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_4\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_40\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_41\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_42\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_43\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_44\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_45\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_46\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_47\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_48\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_49\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_5\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_50\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_51\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_52\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_53\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_54\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_55\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_56\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_57\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_58\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_59\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_6\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_60\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_61\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_62\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_63\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_64\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_65\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_66\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_67\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_68\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_69\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_7\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_70\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_71\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_72\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_73\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_74\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_75\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_76\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_77\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_78\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_79\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_8\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_80\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_81\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_82\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_83\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_84\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_85\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_86\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_87\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_88\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_89\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_9\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_90\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_91\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_92\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_93\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_94\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_95\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_96\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_97\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_98\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + - " \"_99\": {\n" + - " \"type\": \"text\"\n" + - " },\n" + " \"EventID\": {\n" + " \"type\": \"integer\"\n" + " },\n" +