[Groonga-commit] droonga/droonga-engine at 99451bd [master] Fix testcase of system.statistics.object.count.per-volume

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 29 21:53:07 JST 2015


YUKI Hiroshi	2015-04-29 21:53:07 +0900 (Wed, 29 Apr 2015)

  New Revision: 99451bdb05eaee0871c9a1bebf309a39b2c2e302
  https://github.com/droonga/droonga-engine/commit/99451bdb05eaee0871c9a1bebf309a39b2c2e302

  Message:
    Fix testcase of system.statistics.object.count.per-volume

  Modified files:
    test/command/suite/system/statistics/object/count/per-volume/empty.catalog.json
    test/command/suite/system/statistics/object/count/per-volume/record.catalog.json
    test/command/suite/system/statistics/object/count/per-volume/record.expected
    test/command/suite/system/statistics/object/count/per-volume/schema.catalog.json

  Modified: test/command/suite/system/statistics/object/count/per-volume/empty.catalog.json (+22 -8)
===================================================================
--- test/command/suite/system/statistics/object/count/per-volume/empty.catalog.json    2015-04-29 21:50:10 +0900 (7e61ae4)
+++ test/command/suite/system/statistics/object/count/per-volume/empty.catalog.json    2015-04-29 21:53:07 +0900 (747d0d0)
@@ -5,16 +5,30 @@
       },
       "replicas": [
         {
-          "label": "replica000",
-          "volume": {
-            "address": "127.0.0.1:23003/droonga.000"
-          }
+          "dimension": "_key",
+          "slicer": "hash",
+          "slices": [
+            {
+              "label": "slice000",
+              "weight": 100,
+              "volume": {
+                "address": "127.0.0.1:23003/droonga.000"
+              }
+            }
+          ]
         },
         {
-          "label": "replica010",
-          "volume": {
-            "address": "127.0.0.1:23003/droonga.000"
-          }
+          "dimension": "_key",
+          "slicer": "hash",
+          "slices": [
+            {
+              "label": "slice010",
+              "weight": 100,
+              "volume": {
+                "address": "127.0.0.1:23003/droonga.010"
+              }
+            }
+          ]
         }
       ]
     }

  Modified: test/command/suite/system/statistics/object/count/per-volume/record.catalog.json (+22 -8)
===================================================================
--- test/command/suite/system/statistics/object/count/per-volume/record.catalog.json    2015-04-29 21:50:10 +0900 (9c2af49)
+++ test/command/suite/system/statistics/object/count/per-volume/record.catalog.json    2015-04-29 21:53:07 +0900 (ca468e4)
@@ -9,16 +9,30 @@
       },
       "replicas": [
         {
-          "label": "replica000",
-          "volume": {
-            "address": "127.0.0.1:23003/droonga.000"
-          }
+          "dimension": "_key",
+          "slicer": "hash",
+          "slices": [
+            {
+              "label": "slice000",
+              "weight": 100,
+              "volume": {
+                "address": "127.0.0.1:23003/droonga.000"
+              }
+            }
+          ]
         },
         {
-          "label": "replica010",
-          "volume": {
-            "address": "127.0.0.1:23003/droonga.000"
-          }
+          "dimension": "_key",
+          "slicer": "hash",
+          "slices": [
+            {
+              "label": "slice010",
+              "weight": 100,
+              "volume": {
+                "address": "127.0.0.1:23003/droonga.010"
+              }
+            }
+          ]
         }
       ]
     }

  Modified: test/command/suite/system/statistics/object/count/per-volume/record.expected (+2 -2)
===================================================================
--- test/command/suite/system/statistics/object/count/per-volume/record.expected    2015-04-29 21:50:10 +0900 (185fd93)
+++ test/command/suite/system/statistics/object/count/per-volume/record.expected    2015-04-29 21:53:07 +0900 (9f4c1c0)
@@ -3,13 +3,13 @@
   "statusCode": 200,
   "type": "system.statistics.object.count.per-volume.result",
   "body": {
-    "127.0.0.1:42300/droonga.000": {
+    "127.0.0.1:23003/droonga.000": {
       "tables":  1,
       "columns": 0,
       "records": 1,
       "total":   2
     },
-    "127.0.0.1:42300/droonga.010": {
+    "127.0.0.1:23003/droonga.010": {
       "tables":  1,
       "columns": 0,
       "records": 1,

  Modified: test/command/suite/system/statistics/object/count/per-volume/schema.catalog.json (+22 -8)
===================================================================
--- test/command/suite/system/statistics/object/count/per-volume/schema.catalog.json    2015-04-29 21:50:10 +0900 (9c2af49)
+++ test/command/suite/system/statistics/object/count/per-volume/schema.catalog.json    2015-04-29 21:53:07 +0900 (ca468e4)
@@ -9,16 +9,30 @@
       },
       "replicas": [
         {
-          "label": "replica000",
-          "volume": {
-            "address": "127.0.0.1:23003/droonga.000"
-          }
+          "dimension": "_key",
+          "slicer": "hash",
+          "slices": [
+            {
+              "label": "slice000",
+              "weight": 100,
+              "volume": {
+                "address": "127.0.0.1:23003/droonga.000"
+              }
+            }
+          ]
         },
         {
-          "label": "replica010",
-          "volume": {
-            "address": "127.0.0.1:23003/droonga.000"
-          }
+          "dimension": "_key",
+          "slicer": "hash",
+          "slices": [
+            {
+              "label": "slice010",
+              "weight": 100,
+              "volume": {
+                "address": "127.0.0.1:23003/droonga.010"
+              }
+            }
+          ]
         }
       ]
     }
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index