[Groonga-commit] groonga/groonga at f1a1ac5 [master] test: make robust

Back to archive index
Kouhei Sutou null+****@clear*****
Mon Mar 4 12:30:21 JST 2019


Kouhei Sutou	2019-03-04 12:30:21 +0900 (Mon, 04 Mar 2019)

  Revision: f1a1ac5bde3bbd90dba08f948d6f8c19847df133
  https://github.com/groonga/groonga/commit/f1a1ac5bde3bbd90dba08f948d6f8c19847df133

  Message:
    test: make robust

  Modified files:
    test/command/suite/select/query_expander/column/vector/phrase.expected
    test/command/suite/select/query_expander/column/vector/phrase.test

  Modified: test/command/suite/select/query_expander/column/vector/phrase.expected (+5 -5)
===================================================================
--- test/command/suite/select/query_expander/column/vector/phrase.expected    2019-03-04 12:22:58 +0900 (4c3e8c0ba)
+++ test/command/suite/select/query_expander/column/vector/phrase.expected    2019-03-04 12:30:21 +0900 (5167d4a3b)
@@ -25,7 +25,7 @@ load --table Synonyms
 ["groonga storage engine", ["groonga storage engine", "mroonga"]]
 ]
 [[0,0.0,0.0],1]
-select --table Memos --query_expander Synonyms.words   --match_columns content --query '"groonga storage engine"'
+select   --table Memos   --query_expander Synonyms.words   --match_columns content --query '"groonga storage engine"'   --sort_keys -_score
 [
   [
     0,
@@ -48,12 +48,12 @@ select --table Memos --query_expander Synonyms.words   --match_columns content -
         ]
       ],
       [
-        2,
-        "Start mroonga!"
-      ],
-      [
         4,
         "Setup groonga storage engine!"
+      ],
+      [
+        2,
+        "Start mroonga!"
       ]
     ]
   ]

  Modified: test/command/suite/select/query_expander/column/vector/phrase.test (+5 -2)
===================================================================
--- test/command/suite/select/query_expander/column/vector/phrase.test    2019-03-04 12:22:58 +0900 (1e693b8f7)
+++ test/command/suite/select/query_expander/column/vector/phrase.test    2019-03-04 12:30:21 +0900 (9484eaef7)
@@ -22,5 +22,8 @@ load --table Synonyms
 ["groonga storage engine", ["groonga storage engine", "mroonga"]]
 ]
 
-select --table Memos --query_expander Synonyms.words \
-  --match_columns content --query '"groonga storage engine"'
+select \
+  --table Memos \
+  --query_expander Synonyms.words \
+  --match_columns content --query '"groonga storage engine"' \
+  --sort_keys -_score
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190304/8fe54abf/attachment-0001.html>


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