[Groonga-commit] groonga/groonga at bdf6b3d [master] sharding test: revert changes for "out of range" error

Back to archive index

Kouhei Sutou null+****@clear*****
Thu May 25 10:57:36 JST 2017


Kouhei Sutou	2017-05-25 10:57:36 +0900 (Thu, 25 May 2017)

  New Revision: bdf6b3d1827ea7d34ae50c5f0b507ce8bbfea4f6
  https://github.com/groonga/groonga/commit/bdf6b3d1827ea7d34ae50c5f0b507ce8bbfea4f6

  Message:
    sharding test: revert changes for "out of range" error
    
    We should focus on only one thing in one test. We should not add not
    related test to existing tests.

  Modified files:
    test/command/suite/sharding/logical_select/no_condition/max_exclude.expected
    test/command/suite/sharding/logical_select/no_condition/max_exclude.test
    test/command/suite/sharding/logical_select/no_condition/max_include.expected
    test/command/suite/sharding/logical_select/no_condition/max_include.test

  Modified: test/command/suite/sharding/logical_select/no_condition/max_exclude.expected (+1 -33)
===================================================================
--- test/command/suite/sharding/logical_select/no_condition/max_exclude.expected    2017-05-25 10:56:07 +0900 (be9d38e)
+++ test/command/suite/sharding/logical_select/no_condition/max_exclude.expected    2017-05-25 10:57:36 +0900 (f1a684d)
@@ -30,16 +30,6 @@ table_create Times_20150205 TABLE_PAT_KEY Time
 [[0,0.0,0.0],true]
 column_create Times_20150205 timestamp_index COLUMN_INDEX Logs_20150205 timestamp
 [[0,0.0,0.0],true]
-table_create Logs_20150131 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150131 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150131 memo COLUMN_SCALAR ShortText
-[[0,0.0,0.0],true]
-table_create Times_20150131 TABLE_PAT_KEY Time
-[[0,0.0,0.0],true]
-column_create Times_20150131 timestamp_index COLUMN_INDEX Logs_20150131 timestamp
-[[0,0.0,0.0],true]
 load --table Logs_20150203
 [
 {
@@ -88,18 +78,6 @@ load --table Logs_20150205
 }
 ]
 [[0,0.0,0.0],4]
-load --table Logs_20150131
-[
-{
-  "timestamp": "2015-01-31 12:49:00",
-  "memo":      "2015-01-31 12:49:00"
-},
-{
-  "timestamp": "2015-01-31 23:59:59",
-  "memo":      "2015-01-31 23:59:59"
-}
-]
-[[0,0.0,0.0],2]
 logical_select Logs timestamp   --max "2015-02-04 00:00:00"   --max_border "exclude"
 [
   [
@@ -110,7 +88,7 @@ logical_select Logs timestamp   --max "2015-02-04 00:00:00"   --max_border "excl
   [
     [
       [
-        4
+        2
       ],
       [
         [
@@ -128,16 +106,6 @@ logical_select Logs timestamp   --max "2015-02-04 00:00:00"   --max_border "excl
       ],
       [
         1,
-        "2015-01-31 12:49:00",
-        1422676140.0
-      ],
-      [
-        2,
-        "2015-01-31 23:59:59",
-        1422716399.0
-      ],
-      [
-        1,
         "2015-02-03 12:49:00",
         1422935340.0
       ],

  Modified: test/command/suite/sharding/logical_select/no_condition/max_exclude.test (+0 -18)
===================================================================
--- test/command/suite/sharding/logical_select/no_condition/max_exclude.test    2017-05-25 10:56:07 +0900 (eae3621)
+++ test/command/suite/sharding/logical_select/no_condition/max_exclude.test    2017-05-25 10:57:36 +0900 (f16a125)
@@ -20,12 +20,6 @@ column_create Logs_20150205 memo COLUMN_SCALAR ShortText
 table_create Times_20150205 TABLE_PAT_KEY Time
 column_create Times_20150205 timestamp_index COLUMN_INDEX Logs_20150205 timestamp
 
-table_create Logs_20150131 TABLE_NO_KEY
-column_create Logs_20150131 timestamp COLUMN_SCALAR Time
-column_create Logs_20150131 memo COLUMN_SCALAR ShortText
-table_create Times_20150131 TABLE_PAT_KEY Time
-column_create Times_20150131 timestamp_index COLUMN_INDEX Logs_20150131 timestamp
-
 load --table Logs_20150203
 [
 {
@@ -74,18 +68,6 @@ load --table Logs_20150205
 }
 ]
 
-load --table Logs_20150131
-[
-{
-  "timestamp": "2015-01-31 12:49:00",
-  "memo":      "2015-01-31 12:49:00"
-},
-{
-  "timestamp": "2015-01-31 23:59:59",
-  "memo":      "2015-01-31 23:59:59"
-}
-]
-
 logical_select Logs timestamp \
   --max "2015-02-04 00:00:00" \
   --max_border "exclude"

  Modified: test/command/suite/sharding/logical_select/no_condition/max_include.expected (+1 -33)
===================================================================
--- test/command/suite/sharding/logical_select/no_condition/max_include.expected    2017-05-25 10:56:07 +0900 (9319c6d)
+++ test/command/suite/sharding/logical_select/no_condition/max_include.expected    2017-05-25 10:57:36 +0900 (4b98fd0)
@@ -30,16 +30,6 @@ table_create Times_20150205 TABLE_PAT_KEY Time
 [[0,0.0,0.0],true]
 column_create Times_20150205 timestamp_index COLUMN_INDEX Logs_20150205 timestamp
 [[0,0.0,0.0],true]
-table_create Logs_20150131 TABLE_NO_KEY
-[[0,0.0,0.0],true]
-column_create Logs_20150131 timestamp COLUMN_SCALAR Time
-[[0,0.0,0.0],true]
-column_create Logs_20150131 memo COLUMN_SCALAR ShortText
-[[0,0.0,0.0],true]
-table_create Times_20150131 TABLE_PAT_KEY Time
-[[0,0.0,0.0],true]
-column_create Times_20150131 timestamp_index COLUMN_INDEX Logs_20150131 timestamp
-[[0,0.0,0.0],true]
 load --table Logs_20150203
 [
 {
@@ -88,18 +78,6 @@ load --table Logs_20150205
 }
 ]
 [[0,0.0,0.0],4]
-load --table Logs_20150131
-[
-{
-  "timestamp": "2015-01-31 12:49:00",
-  "memo":      "2015-01-31 12:49:00"
-},
-{
-  "timestamp": "2015-01-31 23:59:59",
-  "memo":      "2015-01-31 23:59:59"
-}
-]
-[[0,0.0,0.0],2]
 logical_select Logs timestamp   --max "2015-02-04 00:00:00"   --max_border "include"
 [
   [
@@ -110,7 +88,7 @@ logical_select Logs timestamp   --max "2015-02-04 00:00:00"   --max_border "incl
   [
     [
       [
-        5
+        3
       ],
       [
         [
@@ -128,16 +106,6 @@ logical_select Logs timestamp   --max "2015-02-04 00:00:00"   --max_border "incl
       ],
       [
         1,
-        "2015-01-31 12:49:00",
-        1422676140.0
-      ],
-      [
-        2,
-        "2015-01-31 23:59:59",
-        1422716399.0
-      ],
-      [
-        1,
         "2015-02-03 12:49:00",
         1422935340.0
       ],

  Modified: test/command/suite/sharding/logical_select/no_condition/max_include.test (+0 -18)
===================================================================
--- test/command/suite/sharding/logical_select/no_condition/max_include.test    2017-05-25 10:56:07 +0900 (7ebcc7b)
+++ test/command/suite/sharding/logical_select/no_condition/max_include.test    2017-05-25 10:57:36 +0900 (068715d)
@@ -20,12 +20,6 @@ column_create Logs_20150205 memo COLUMN_SCALAR ShortText
 table_create Times_20150205 TABLE_PAT_KEY Time
 column_create Times_20150205 timestamp_index COLUMN_INDEX Logs_20150205 timestamp
 
-table_create Logs_20150131 TABLE_NO_KEY
-column_create Logs_20150131 timestamp COLUMN_SCALAR Time
-column_create Logs_20150131 memo COLUMN_SCALAR ShortText
-table_create Times_20150131 TABLE_PAT_KEY Time
-column_create Times_20150131 timestamp_index COLUMN_INDEX Logs_20150131 timestamp
-
 load --table Logs_20150203
 [
 {
@@ -74,18 +68,6 @@ load --table Logs_20150205
 }
 ]
 
-load --table Logs_20150131
-[
-{
-  "timestamp": "2015-01-31 12:49:00",
-  "memo":      "2015-01-31 12:49:00"
-},
-{
-  "timestamp": "2015-01-31 23:59:59",
-  "memo":      "2015-01-31 23:59:59"
-}
-]
-
 logical_select Logs timestamp \
   --max "2015-02-04 00:00:00" \
   --max_border "include"
-------------- next part --------------
HTML����������������������������...
Download 



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