You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(seaweedfs): add Prometheus metrics usage and fallback tests
Adds testGetAllBucketsUsageFromMetrics verifying the metrics path
returns per-bucket sizes from a single scrape, filters unmanaged
buckets, and does not call ListObjectsV2. Adds
testGetAllBucketsUsageMetricsFailureFallsBackToList verifying that an
HTTP 503 from the metrics endpoint falls back to the ListObjectsV2
scan.
Copy file name to clipboardExpand all lines: plugins/storage/object/seaweedfs/src/test/java/org/apache/cloudstack/storage/datastore/driver/SeaweedFSObjectStoreDriverImplTest.java
+66Lines changed: 66 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -767,4 +767,70 @@ public void testGetAllBucketsUsage() throws Exception {
0 commit comments