[hyena] Fix unit test



commit e46ff2094938ab07c696176d5f42e99f6beaa4ac
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Fri Feb 12 07:40:24 2010 -0800

    Fix unit test

 src/Hyena/Hyena.Metrics/Tests/MetricsTests.cs |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/Hyena/Hyena.Metrics/Tests/MetricsTests.cs b/src/Hyena/Hyena.Metrics/Tests/MetricsTests.cs
index 87594c9..36fdac1 100644
--- a/src/Hyena/Hyena.Metrics/Tests/MetricsTests.cs
+++ b/src/Hyena/Hyena.Metrics/Tests/MetricsTests.cs
@@ -49,10 +49,6 @@ namespace Hyena.Tests
             metrics.AddDefaults ();
             Assert.IsTrue (metrics.Count > 0);
 
-            foreach (var metric in metrics) {
-                metric.TakeSample ();
-            }
-
             string metrics_str = metrics.ToString ();
             Assert.IsTrue (metrics_str.Contains ("ID: myuniqueid"));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]