[Groonga-commit] long-long-float/droonga-engine at b710a8f [master] Add drntest for catalog.fetch #10

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Aug 27 15:37:58 JST 2014


YUKI Hiroshi	2014-08-27 15:37:58 +0900 (Wed, 27 Aug 2014)

  New Revision: b710a8fe318eac2d8473455571b25f30577a1bb4
  https://github.com/long-long-float/droonga-engine/commit/b710a8fe318eac2d8473455571b25f30577a1bb4

  Message:
    Add drntest for catalog.fetch #10

  Added files:
    test/command/suite/catalog/fetch.expected
    test/command/suite/catalog/fetch.test

  Added: test/command/suite/catalog/fetch.expected (+64 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/catalog/fetch.expected    2014-08-27 15:37:58 +0900 (ca2c6b8)
@@ -0,0 +1,64 @@
+{
+  "inReplyTo": "request-id",
+  "statusCode": 200,
+  "type": "catalog.fetch.result",
+  "body": {
+    "version": 2,
+    "effectiveDate": "2014-02-28T00:00:00Z",
+    "datasets": {
+      "Default": {
+        "nWorkers": 2,
+        "plugins": [
+          "groonga",
+          "crud",
+          "search",
+          "dump",
+          "system",
+          "catalog"
+        ],
+        "replicas": [
+          {
+            "dimension": "_key",
+            "slicer": "hash",
+            "slices": [
+              {
+                "label": "slice000",
+                "weight": 50,
+                "volume": {
+                  "address": "127.0.0.1:23003/droonga.000"
+                }
+              },
+              {
+                "label": "slice001",
+                "weight": 50,
+                "volume": {
+                  "address": "127.0.0.1:23003/droonga.001"
+                }
+              }
+            ]
+          },
+          {
+            "dimension": "_key",
+            "slicer": "hash",
+            "slices": [
+              {
+                "label": "slice010",
+                "weight": 50,
+                "volume": {
+                  "address": "127.0.0.1:23003/droonga.010"
+                }
+              },
+              {
+                "label": "slice011",
+                "weight": 50,
+                "volume": {
+                  "address": "127.0.0.1:23003/droonga.011"
+                }
+              }
+            ]
+          }
+        ]
+      }
+    }
+  }
+}

  Added: test/command/suite/catalog/fetch.test (+5 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/catalog/fetch.test    2014-08-27 15:37:58 +0900 (460c071)
@@ -0,0 +1,5 @@
+{
+  "type": "catalog.fetch",
+  "dataset": "Default",
+  "body": {}
+}
-------------- next part --------------
HTML����������������������������...
Download 



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