Skip to content

Commit

Permalink
fix multi-node integ Tests
Browse files Browse the repository at this point in the history
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
  • Loading branch information
sbcd90 committed Jul 1, 2024
1 parent e4f552f commit eee9967
Showing 1 changed file with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ import org.opensearch.cluster.service.ClusterService
import org.opensearch.commons.alerting.action.DocLevelMonitorFanOutAction
import org.opensearch.commons.alerting.action.DocLevelMonitorFanOutRequest
import org.opensearch.commons.alerting.action.DocLevelMonitorFanOutResponse
import org.opensearch.commons.alerting.model.*
import org.opensearch.commons.alerting.model.IndexExecutionContext
import org.opensearch.commons.alerting.model.Monitor
import org.opensearch.commons.alerting.model.MonitorMetadata
import org.opensearch.commons.alerting.model.MonitorRunResult
import org.opensearch.commons.alerting.model.TriggerRunResult
import org.opensearch.commons.alerting.model.WorkflowRunContext
import org.opensearch.commons.alerting.util.AlertingException
import org.opensearch.core.action.ActionListener
import org.opensearch.core.common.breaker.CircuitBreakingException
Expand Down Expand Up @@ -85,7 +90,16 @@ open class RemoteMonitorRunner {
dryrun,
monitorMetadata,
executionId,
indexExecutionContext = null,
indexExecutionContext = IndexExecutionContext(
listOf(),
mutableMapOf(),
mutableMapOf(),
"",
"",
listOf(),
listOf(),
listOf()
),
nodeShardAssignments[node.key]!!.toList(),
concreteIndices,
workflowRunContext
Expand Down

0 comments on commit eee9967

Please sign in to comment.