Update labels (#302)

This commit is contained in:
KirillPamPam
2023-09-19 13:11:31 +04:00
committed by GitHub
parent 5a2e5e9304
commit 674bc18f25
5 changed files with 39 additions and 34 deletions

View File

@@ -81,7 +81,7 @@ class GrpcUpstreamStatusSpec extends Specification {
)
act = status.getLabels()
then:
!result
result
act.toList() == [
UpstreamsConfig.Labels.fromMap([test1: "bar", test2: "baz"])
]
@@ -125,7 +125,7 @@ class GrpcUpstreamStatusSpec extends Specification {
)
act = status.getLabels()
then:
!result
result
act.toList() == [
UpstreamsConfig.Labels.fromMap([test: "bar", fix: "value"])
]

View File

@@ -72,7 +72,6 @@ class IntegrationTest {
val result = stub.describe(BlockchainOuterClass.DescribeRequest.newBuilder().build())
Assertions.assertThat(result.chainsCount).isEqualTo(1)
Assertions.assertThat(result.chainsList[0].chain).isEqualTo(ChainRef.CHAIN_ETHEREUM__MAINNET)
Assertions.assertThat(result.chainsList[0].nodesCount).isEqualTo(1)
}
@TestConfiguration