Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEST #6144

Closed
wants to merge 5 commits into from
Closed

TEST #6144

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import java.util.UUID
@TestInstance(Lifecycle.PER_CLASS)
@Isolated("As this test updates the config which affects running cluster")
class ConfigurationChangeTest : ClusterReadiness by ClusterReadinessChecker() {
// change

companion object {
private val logger = LoggerFactory.getLogger(this::class.java.enclosingClass)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ class LocallyHostedIdentitiesWriterImpl@Activate constructor(

private fun onConfigChangedEventReceived(coordinator: LifecycleCoordinator, event: ConfigChangedEvent) {
logger.debug { "Creating resources" }
logger.info("Taking coordinator DOWN due to config changed event")
coordinator.updateStatus(LifecycleStatus.DOWN)
lock.withLock {
coordinator.createManagedResource(PUBLISHER_RESOURCE_NAME) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ class DBProcessorImpl @Activate constructor(
coordinator: LifecycleCoordinator
) {
// Creates and starts the rest of the reconcilers
log.info("--- Creating reconcilers ---")
reconcilers.onConfigChanged(event)

val messagingConfig = event.config.getConfig(ConfigKeys.MESSAGING_CONFIG)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ConfigReconciler(
}

override fun updateInterval(intervalMillis: Long) {
log.debug("Config reconciliation interval set to $intervalMillis ms")
log.info("Config reconciliation interval set to $intervalMillis ms")

if (dbReconciler == null) {
dbReconciler =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class HostedIdentityReconciler(
}

override fun updateInterval(intervalMillis: Long) {
logger.debug { "Config reconciliation interval set to $intervalMillis ms" }
logger.info("Config reconciliation interval set to $intervalMillis ms")

if (dbReconciler == null) {
dbReconciler =
Expand Down