Skip to content

Commit 31fad2f

Browse files
committed
fix test
1 parent 59589ea commit 31fad2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/transform/src/test/java/org/elasticsearch/xpack/transform/action/TransportSetTransformUpgradeModeActionTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ private ClusterState stateWithTransformTask() {
193193

194194
public void testDisableUpgradeMode() throws InterruptedException {
195195
doAnswer(ans -> {
196-
ActionListener<Boolean> listener = ans.getArgument(2);
196+
ActionListener<Boolean> listener = ans.getArgument(3);
197197
listener.onResponse(true);
198198
return null;
199199
}).when(persistentTasksService).waitForPersistentTasksCondition(any(), any(), any(), any());

0 commit comments

Comments
 (0)