Skip to content

Commit

Permalink
IGNITE-22998 Fix LongDestroyDurableBackgroundTaskTest (#11489)
Browse files Browse the repository at this point in the history
  • Loading branch information
superminkfan authored Aug 21, 2024
1 parent 6fb58f2 commit 818118e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ private void awaitLatch(CountDownLatch latch, String failMsg) throws Interrupted
*
* @param ignite Ignite instance.
*/
private void validateIndexes(Ignite ignite) {
private void validateIndexes(Ignite ignite) throws Exception {
Set<UUID> nodeIds = new HashSet<>();

nodeIds.add(grid(RESTARTED_NODE_NUM).cluster().localNode().id());
Expand All @@ -376,7 +376,7 @@ private void validateIndexes(Ignite ignite) {
taskArg.checkSizes(true);

ValidateIndexesTaskResult taskRes =
ignite.compute().execute(ValidateIndexesTask.class.getName(), new VisorTaskArgument<>(nodeIds, taskArg, false));
ignite.compute().execute(ValidateIndexesTask.class, new VisorTaskArgument<>(nodeIds, taskArg, false)).result();

if (!taskRes.exceptions().isEmpty()) {
for (Map.Entry<ValidateIndexesTaskResult.NodeInfo, Exception> e : taskRes.exceptions().entrySet())
Expand Down

0 comments on commit 818118e

Please sign in to comment.