Skip to content

Commit f112c7c

Browse files
committed
Add tests
1 parent 2af4913 commit f112c7c

26 files changed

Lines changed: 2040 additions & 21 deletions

File tree

core/config/telemetry_config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ type Telemetry interface {
1818
EmitterExportTimeout() time.Duration
1919
ChipIngressEndpoint() string
2020
ChipIngressInsecureConnection() bool
21+
DurableEmitterEnabled() bool
2122
HeartbeatInterval() time.Duration
2223
LogStreamingEnabled() bool
2324
LogLevel() zapcore.Level

core/config/toml/types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2762,6 +2762,7 @@ type Telemetry struct {
27622762
AuthHeadersTTL *commonconfig.Duration
27632763
ChipIngressEndpoint *string
27642764
ChipIngressInsecureConnection *bool
2765+
DurableEmitterEnabled *bool
27652766
HeartbeatInterval *commonconfig.Duration
27662767
LogLevel *string
27672768
LogStreamingEnabled *bool
@@ -2806,6 +2807,9 @@ func (b *Telemetry) setFrom(f *Telemetry) {
28062807
if v := f.ChipIngressInsecureConnection; v != nil {
28072808
b.ChipIngressInsecureConnection = v
28082809
}
2810+
if v := f.DurableEmitterEnabled; v != nil {
2811+
b.DurableEmitterEnabled = v
2812+
}
28092813
if v := f.HeartbeatInterval; v != nil {
28102814
b.HeartbeatInterval = v
28112815
}

core/scripts/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ require (
4646
github.com/shopspring/decimal v1.4.0
4747
github.com/smartcontractkit/chainlink-automation v0.8.1
4848
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20260317185256-d5f7db87ae70
49-
github.com/smartcontractkit/chainlink-common v0.10.1-0.20260317233127-178dd2eeaa87
49+
github.com/smartcontractkit/chainlink-common v0.10.1-0.20260323153253-cc10b6d11a7e
5050
github.com/smartcontractkit/chainlink-common/keystore v1.0.2
5151
github.com/smartcontractkit/chainlink-data-streams v0.1.12
5252
github.com/smartcontractkit/chainlink-deployments-framework v0.86.3

core/scripts/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/services/beholder/chip_load_test_demo.pb.go

Lines changed: 169 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
syntax = "proto3";
2+
3+
// Matches atlas/chip-ingress/cmd/demo_client/pb/demo_client_payload.proto for schema subject
4+
// chip-demo-pb.DemoClientPayload (see atlas chip-ingress make create-schema).
5+
option go_package = "github.com/smartcontractkit/chainlink/v2/core/services/beholder;beholder";
6+
7+
package pb;
8+
9+
// Used for testing
10+
message DemoClientPayload {
11+
string id = 1;
12+
string domain = 2;
13+
string entity = 3;
14+
int64 batch_num = 4;
15+
int64 message_num = 5;
16+
int64 batch_position = 6;
17+
}

0 commit comments

Comments
 (0)