Skip to content

Commit

Permalink
fix metrics test
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanmarz committed Mar 26, 2013
1 parent 930fcbf commit c15b28f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/clj/backtype/storm/metrics_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,11 @@
(.feed feeder ["a"] 1)
(advance-cluster-time cluster 70)
(assert-buckets! "__system" "newWorkerEvent" [1])
(assert-buckets! "__system" "configTopologyWorkers" [1])
(assert-metric-data-exists! "__system" "uptimeSecs")
(assert-metric-data-exists! "__system" "startTimeSecs")
(assert-metric-data-exists! "__system" "topologyPartialUptimeSecs")

(advance-cluster-time cluster 180)
(assert-buckets! "__system" "newWorkerEvent" [1 0 0 0])
(assert-buckets! "__system" "configTopologyWorkers" [1 1 1 1]))))
)))


0 comments on commit c15b28f

Please sign in to comment.