diff options
author | Paul Joseph Davis <davisp@apache.org> | 2009-10-24 21:53:02 +0000 |
---|---|---|
committer | Paul Joseph Davis <davisp@apache.org> | 2009-10-24 21:53:02 +0000 |
commit | 0f575441b4938e75068b88c7e32698de3e3af9df (patch) | |
tree | 8f7b8d96ad1c1cfeb13322c1149427cf8043450e /test/etap | |
parent | 944dbcd5af0f47363499c55effb85170357b77db (diff) |
Fixed the test for couch_stats_aggregator.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@829456 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/etap')
-rw-r--r-- | test/etap/121-stats-aggregates.cfg | 19 | ||||
-rw-r--r-- | test/etap/121-stats-aggregates.ini | 5 | ||||
-rwxr-xr-x | test/etap/121-stats-aggregates.t | 2 |
3 files changed, 20 insertions, 6 deletions
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(), |