@@ -62,7 +62,6 @@ public void cleanUpPotentiallyFailedTransform() throws Exception {
62
62
}
63
63
}
64
64
65
- @ AwaitsFix (bugUrl = "https://github.com/elastic/elasticsearch/issues/51360" )
66
65
public void testForceStopFailedTransform () throws Exception {
67
66
String transformId = "test-force-stop-failed-transform" ;
68
67
createReviewsIndex (REVIEWS_INDEX_NAME , 10 );
@@ -74,10 +73,10 @@ public void testForceStopFailedTransform() throws Exception {
74
73
awaitState (transformId , TransformStats .State .FAILED );
75
74
Map <?, ?> fullState = getTransformStateAndStats (transformId );
76
75
final String failureReason = "Failed to index documents into destination index due to permanent error: "
77
- + "\\ [org.elasticsearch.xpack.transform.transforms. BulkIndexingException: Bulk index experienced \\ [7\\ ] "
76
+ + "\\ [BulkIndexingException\\ [ Bulk index experienced \\ [7\\ ] "
78
77
+ "failures and at least 1 irrecoverable "
79
- + "\\ [org.elasticsearch.xpack.transform.transforms. TransformException: Destination index mappings are "
80
- + "incompatible with the transform configuration.;.*" ;
78
+ + "\\ [TransformException\\ [ Destination index mappings are "
79
+ + "incompatible with the transform configuration.\\ ] ;.*" ;
81
80
// Verify we have failed for the expected reason
82
81
assertThat ((String ) XContentMapValues .extractValue ("reason" , fullState ), matchesRegex (failureReason ));
83
82
@@ -101,7 +100,6 @@ public void testForceStopFailedTransform() throws Exception {
101
100
assertThat (XContentMapValues .extractValue ("reason" , fullState ), is (nullValue ()));
102
101
}
103
102
104
- @ AwaitsFix (bugUrl = "https://github.com/elastic/elasticsearch/issues/51360" )
105
103
public void testStartFailedTransform () throws Exception {
106
104
String transformId = "test-force-start-failed-transform" ;
107
105
createReviewsIndex (REVIEWS_INDEX_NAME , 10 );
@@ -113,10 +111,10 @@ public void testStartFailedTransform() throws Exception {
113
111
awaitState (transformId , TransformStats .State .FAILED );
114
112
Map <?, ?> fullState = getTransformStateAndStats (transformId );
115
113
final String failureReason = "Failed to index documents into destination index due to permanent error: "
116
- + "\\ [org.elasticsearch.xpack.transform.transforms. BulkIndexingException: Bulk index experienced \\ [7\\ ] "
114
+ + "\\ [BulkIndexingException\\ [ Bulk index experienced \\ [7\\ ] "
117
115
+ "failures and at least 1 irrecoverable "
118
- + "\\ [org.elasticsearch.xpack.transform.transforms. TransformException: Destination index mappings are "
119
- + "incompatible with the transform configuration.;.*" ;
116
+ + "\\ [TransformException\\ [ Destination index mappings are "
117
+ + "incompatible with the transform configuration.\\ ] ;.*" ;
120
118
// Verify we have failed for the expected reason
121
119
assertThat ((String ) XContentMapValues .extractValue ("reason" , fullState ), matchesRegex (failureReason ));
122
120
0 commit comments