From 0f575441b4938e75068b88c7e32698de3e3af9df Mon Sep 17 00:00:00 2001 From: Paul Joseph Davis Date: Sat, 24 Oct 2009 21:53:02 +0000 Subject: Fixed the test for couch_stats_aggregator. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@829456 13f79535-47bb-0310-9956-ffa450edef68 --- test/etap/121-stats-aggregates.cfg | 19 +++++++++++++++++++ test/etap/121-stats-aggregates.ini | 5 ----- test/etap/121-stats-aggregates.t | 2 +- 3 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 test/etap/121-stats-aggregates.cfg (limited to 'test') diff --git a/test/etap/121-stats-aggregates.cfg b/test/etap/121-stats-aggregates.cfg new file mode 100644 index 00000000..30e475da --- /dev/null +++ b/test/etap/121-stats-aggregates.cfg @@ -0,0 +1,19 @@ +% Licensed to the Apache Software Foundation (ASF) under one +% or more contributor license agreements. See the NOTICE file +% distributed with this work for additional information +% regarding copyright ownership. The ASF licenses this file +% to you under the Apache License, Version 2.0 (the +% "License"); you may not use this file except in compliance +% with the License. You may obtain a copy of the License at +% +% http://www.apache.org/licenses/LICENSE-2.0 +% +% Unless required by applicable law or agreed to in writing, +% software distributed under the License is distributed on an +% "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +% KIND, either express or implied. See the License for the +% specific language governing permissions and limitations +% under the License. + +{testing, stuff, "yay description"}. +{number, '11', "randomosity"}. diff --git a/test/etap/121-stats-aggregates.ini b/test/etap/121-stats-aggregates.ini index 824bf163..cc5cd218 100644 --- a/test/etap/121-stats-aggregates.ini +++ b/test/etap/121-stats-aggregates.ini @@ -18,8 +18,3 @@ [stats] rate = 10000000 ; We call collect_sample in testing samples = [0, 1] - -[stats_descriptions] -{testing, stuff} = yay description -{number, '11'} = randomosity - diff --git a/test/etap/121-stats-aggregates.t b/test/etap/121-stats-aggregates.t index cb2c2bb2..0e5a6111 100755 --- a/test/etap/121-stats-aggregates.t +++ b/test/etap/121-stats-aggregates.t @@ -29,7 +29,7 @@ main(_) -> test() -> couch_config:start_link(["test/etap/121-stats-aggregates.ini"]), couch_stats_collector:start(), - couch_stats_aggregator:start(), + couch_stats_aggregator:start("test/etap/121-stats-aggregates.cfg"), ok = test_all_empty(), ok = test_get_empty(), ok = test_count_stats(), -- cgit v1.2.3