Skip to content

Commit

Permalink
テストを更新する
Browse files Browse the repository at this point in the history
  • Loading branch information
sile committed Jan 7, 2025
1 parent 12dd98b commit a43312b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ var (
"plumtree": {
"total_sent_gossip": 1,
"total_received_gossip": 2,
"total_received_gossip_hop": 4,
"total_sent_ihave": 3,
"total_received_ihave": 4,
"total_sent_graft": 5,
Expand All @@ -55,6 +56,7 @@ var (
"plumtree": {
"total_sent_gossip": 101,
"total_received_gossip": 102,
"total_received_gossip_hop": 150,
"total_sent_ihave": 103,
"total_received_ihave": 104,
"total_sent_graft": 105,
Expand Down
4 changes: 4 additions & 0 deletions test/maximum.metrics
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ sora_cluster_relay_plumtree_ignored_total{node_name="node-02"} 111
# TYPE sora_cluster_relay_plumtree_received_gossip_total counter
sora_cluster_relay_plumtree_received_gossip_total{node_name="node-01"} 2
sora_cluster_relay_plumtree_received_gossip_total{node_name="node-02"} 102
# HELP sora_cluster_relay_plumtree_received_gossip_hop_total The total number of hop count of Plumtree GOSSIP messages received by the cluster relay.
# TYPE sora_cluster_relay_plumtree_received_gossip_hop_total counter
sora_cluster_relay_plumtree_received_gossip_hop_total{node_name="node-01"} 4
sora_cluster_relay_plumtree_received_gossip_hop_total{node_name="node-02"} 150
# HELP sora_cluster_relay_plumtree_received_graft_total The total number of Plumtree GRAFT messages received by the cluster relay.
# TYPE sora_cluster_relay_plumtree_received_graft_total counter
sora_cluster_relay_plumtree_received_graft_total{node_name="node-01"} 6
Expand Down
4 changes: 4 additions & 0 deletions test/sora_cluster_metrics_enabled.metrics
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ sora_cluster_relay_plumtree_ignored_total{node_name="node-02"} 111
# TYPE sora_cluster_relay_plumtree_received_gossip_total counter
sora_cluster_relay_plumtree_received_gossip_total{node_name="node-01"} 2
sora_cluster_relay_plumtree_received_gossip_total{node_name="node-02"} 102
# HELP sora_cluster_relay_plumtree_received_gossip_hop_total The total number of hop count of Plumtree GOSSIP messages received by the cluster relay.
# TYPE sora_cluster_relay_plumtree_received_gossip_hop_total counter
sora_cluster_relay_plumtree_received_gossip_hop_total{node_name="node-01"} 4
sora_cluster_relay_plumtree_received_gossip_hop_total{node_name="node-02"} 150
# HELP sora_cluster_relay_plumtree_received_graft_total The total number of Plumtree GRAFT messages received by the cluster relay.
# TYPE sora_cluster_relay_plumtree_received_graft_total counter
sora_cluster_relay_plumtree_received_graft_total{node_name="node-01"} 6
Expand Down

0 comments on commit a43312b

Please sign in to comment.