fix: prometheus metric

This commit is contained in:
guillaumemichel 2025-10-24 01:25:18 +02:00
parent 6b9ee7626e
commit 443b0d8bad
No known key found for this signature in database
GPG Key ID: 612745DB2E6D0E15
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ func TestDHTOptimisticProvide(t *testing.T) {
hash := nodes[0].IPFSAddStr(string(random.Bytes(100)))
nodes[0].IPFS("routing", "provide", hash)
waitUntilProvidesComplete(t, nodes[0])
res := nodes[1].IPFS("routing", "findprovs", "--num-providers=1", hash)
assert.Equal(t, nodes[0].PeerID().String(), res.Stdout.Trimmed())

View File

@ -250,5 +250,5 @@ process_resident_memory_bytes
process_start_time_seconds
process_virtual_memory_bytes
process_virtual_memory_max_bytes
total_provide_count_total
target_info
total_provide_count_total