trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject [trafficserver] 01/02: Fix metrics test typo.
Date Sat, 05 Nov 2016 23:40:00 GMT
This is an automated email from the ASF dual-hosted git repository.

jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit 620b508302cb1c70b3346e170f097acd2647638a
Author: James Peach <jpeach@apache.org>
AuthorDate: Sat Nov 5 16:32:42 2016 -0700

    Fix metrics test typo.
---
 proxy/InkAPITest.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/InkAPITest.cc b/proxy/InkAPITest.cc
index 92d51f6..59f1801 100644
--- a/proxy/InkAPITest.cc
+++ b/proxy/InkAPITest.cc
@@ -8076,7 +8076,7 @@ REGRESSION_TEST(SDK_API_TSStatCreate)(RegressionTest *test, int level,
int *psta
   if (TSStatFindName(name, &id) == TS_SUCCESS) {
     box.check(id >= 0, "TSStatFind(%s) failed with bogus ID %d", name, id);
   } else {
-    id = TSStatCreate("generator.response_bytes", TS_RECORDDATATYPE_COUNTER, TS_STAT_NON_PERSISTENT,
TS_STAT_SYNC_SUM);
+    id = TSStatCreate(name, TS_RECORDDATATYPE_COUNTER, TS_STAT_NON_PERSISTENT, TS_STAT_SYNC_SUM);
     box.check(id != TS_ERROR, "TSStatCreate(%s) failed with %d", name, id);
   }
 

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>.

Mime
View raw message