We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f47288 commit 8c81989Copy full SHA for 8c81989
server/src/test/java/org/elasticsearch/rest/action/ingest/RestPutPipelineActionTests.java
@@ -94,9 +94,9 @@ public boolean wasInvoked() {
94
95
public void testNumericIfVersionValue() {
96
Map<String, String> params = new HashMap<>();
97
- final long numericValue = randomLong();
+ final int numericValue = randomInt();
98
params.put("id", "my_pipeline");
99
- params.put("if_version", Long.toString(numericValue));
+ params.put("if_version", Integer.toString(numericValue));
100
101
RestRequest request = new FakeRestRequest.Builder(xContentRegistry())
102
.withMethod(RestRequest.Method.PUT)
0 commit comments