small fixes for integration tests

This commit is contained in:
a10zn8
2022-11-18 19:20:41 +04:00
parent b450cc9a94
commit e66bb772ad
2 changed files with 11 additions and 7 deletions

View File

@@ -111,7 +111,6 @@ open class ConfiguredUpstreams(
} }
upstream?.let { upstream?.let {
val event = UpstreamChangeEvent(chain, upstream, UpstreamChangeEvent.ChangeType.ADDED) val event = UpstreamChangeEvent(chain, upstream, UpstreamChangeEvent.ChangeType.ADDED)
log.error("first !!!! Upstream ${event.upstream.getId()} with chain $chain has been added")
eventPublisher.publishEvent(event) eventPublisher.publishEvent(event)
} }
} }

View File

@@ -7,6 +7,7 @@ tls:
cluster: cluster:
upstreams: upstreams:
- id: test-1 - id: test-1
node-id: 1
chain: ethereum chain: ethereum
methods: methods:
enabled: enabled:
@@ -15,17 +16,21 @@ cluster:
options: options:
disable-validation: true disable-validation: true
connection: connection:
ethereum: ethereum-pos:
rpc: execution:
url: "http://localhost:18545" rpc:
url: "http://localhost:18545"
- id: test-2 - id: test-2
node-id: 2
chain: ethereum chain: ethereum
options: options:
disable-validation: true disable-validation: true
connection: connection:
ethereum: execution:
rpc: ethereum-pos:
url: "http://localhost:18546" rpc:
url: "http://localhost:18546"
cache: cache:
redis: redis: