File tree 2 files changed +4
-6
lines changed
core/src/main/java/org/elasticsearch/xpack/core/rollup/action
src/test/resources/rest-api-spec/test/rollup
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,7 @@ public boolean waitForCompletion() {
79
79
public void readFrom (StreamInput in ) throws IOException {
80
80
super .readFrom (in );
81
81
id = in .readString ();
82
- // TODO change this after backport
83
- if (in .getVersion ().onOrAfter (Version .CURRENT )) {
82
+ if (in .getVersion ().onOrAfter (Version .V_6_6_0 )) {
84
83
waitForCompletion = in .readBoolean ();
85
84
timeout = in .readTimeValue ();
86
85
}
@@ -90,8 +89,7 @@ public void readFrom(StreamInput in) throws IOException {
90
89
public void writeTo (StreamOutput out ) throws IOException {
91
90
super .writeTo (out );
92
91
out .writeString (id );
93
- // TODO change this after backport
94
- if (out .getVersion ().onOrAfter (Version .CURRENT )) {
92
+ if (out .getVersion ().onOrAfter (Version .V_6_6_0 )) {
95
93
out .writeBoolean (waitForCompletion );
96
94
out .writeTimeValue (timeout );
97
95
}
Original file line number Diff line number Diff line change 87
87
---
88
88
" Test wait_for_completion default timeout " :
89
89
- skip :
90
- version : " - 6.6.0 "
90
+ version : " - 6.5.99 "
91
91
reason : wait_for_completion option was added in 6.6
92
92
93
93
- do :
@@ -108,7 +108,7 @@ setup:
108
108
---
109
109
" Test wait_for_completion with custom timeout " :
110
110
- skip :
111
- version : " - 6.6.0 "
111
+ version : " - 6.5.99 "
112
112
reason : wait_for_completion option was added in 6.6
113
113
114
114
- do :
You can’t perform that action at this time.
0 commit comments