groonga-client-model 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.md +30 -0
  3. data/groonga-client-model.gemspec +1 -1
  4. data/lib/groonga_client_model/log_subscriber.rb +1 -3
  5. data/lib/groonga_client_model/migration.rb +493 -0
  6. data/lib/groonga_client_model/migrator.rb +240 -0
  7. data/lib/groonga_client_model/railtie.rb +4 -2
  8. data/lib/groonga_client_model/railties/groonga.rake +55 -2
  9. data/lib/groonga_client_model/record.rb +39 -1
  10. data/lib/groonga_client_model/schema.rb +8 -0
  11. data/lib/groonga_client_model/schema_loader.rb +4 -9
  12. data/lib/groonga_client_model/test/groonga_server_runner.rb +19 -3
  13. data/lib/groonga_client_model/version.rb +1 -1
  14. data/lib/rails/generators/groonga_client_model/migration/templates/create_table_migration.rb +14 -0
  15. data/lib/rails/generators/groonga_client_model/migration/templates/delete_config_migration.rb +9 -0
  16. data/lib/rails/generators/groonga_client_model/migration/templates/migration.rb +12 -0
  17. data/lib/rails/generators/groonga_client_model/migration/templates/set_config_migration.rb +10 -0
  18. data/lib/rails/generators/groonga_client_model/migration_generator.rb +125 -0
  19. data/lib/rails/generators/groonga_client_model/{model/model_generator.rb → model_generator.rb} +18 -4
  20. data/test/apps/rails4/Gemfile.lock +2 -2
  21. data/test/apps/rails4/db/groonga/migrate/20170303120517_create_posts.rb +8 -0
  22. data/test/apps/rails4/db/groonga/migrate/20170303120527_create_terms.rb +7 -0
  23. data/test/apps/rails4/db/groonga/migrate/20170303120536_create_ages.rb +6 -0
  24. data/test/apps/rails4/log/development.log +22 -0
  25. data/test/apps/rails4/log/test.log +1350 -0
  26. data/test/apps/rails4/test/generators/migration_generator_test.rb +103 -0
  27. data/test/apps/rails4/test/tmp/db/groonga/migrate/20170307045825_set_config_alias_column.rb +10 -0
  28. data/test/apps/rails5/Gemfile.lock +8 -8
  29. data/test/apps/rails5/db/groonga/migrate/20170301061420_create_posts.rb +8 -0
  30. data/test/apps/rails5/db/groonga/migrate/20170303115054_create_terms.rb +7 -0
  31. data/test/apps/rails5/db/groonga/migrate/20170303115135_create_ages.rb +6 -0
  32. data/test/apps/rails5/log/development.log +350 -0
  33. data/test/apps/rails5/log/test.log +3260 -0
  34. data/test/apps/rails5/test/generators/migration_generator_test.rb +103 -0
  35. data/test/apps/rails5/test/tmp/db/groonga/migrate/20170307081511_remove_title_from_posts.rb +5 -0
  36. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/5C/5Cws9GLWcOju_f3tIpY01qSaj7zkLAU0a2bQmpf7sS8.cache +1 -0
  37. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/XH/XH9pWZvGgK476BpPGID5z8hjzRmGJjtzV0cHBLXhIKc.cache +1 -0
  38. data/test/unit/fixtures/migrate/20170301061420_create_posts.rb +8 -0
  39. data/test/unit/fixtures/migrate/20170303115054_create_terms.rb +7 -0
  40. data/test/unit/fixtures/migrate/20170303115135_create_ages.rb +6 -0
  41. data/test/unit/migration/test_config.rb +62 -0
  42. data/test/unit/migration/test_copy.rb +117 -0
  43. data/test/unit/migration/test_create_table.rb +528 -0
  44. data/test/unit/migration/test_exist.rb +47 -0
  45. data/test/unit/migration/test_load.rb +83 -0
  46. data/test/unit/record/test_active_model.rb +31 -0
  47. data/test/unit/record/test_readers.rb +45 -0
  48. data/test/unit/record/test_timestamps.rb +76 -0
  49. data/test/unit/record/test_validators.rb +295 -0
  50. data/test/unit/run-test.rb +1 -2
  51. data/test/unit/test_helper.rb +109 -0
  52. data/test/unit/test_load_value_generator.rb +8 -7
  53. data/test/unit/test_migrator.rb +156 -0
  54. metadata +64 -11
  55. data/test/apps/rails4/db/schema.grn +0 -9
  56. data/test/apps/rails5/db/schema.grn +0 -11
  57. data/test/unit/test_record.rb +0 -345
@@ -7815,3 +7815,3263 @@ PostTest: test_.create([Hash])
7815
7815
  ---------------------------------------------
7816
7816
  AgeTest: test_validate:__key:_invalid:_string
7817
7817
  ---------------------------------------------
7818
+ -----------------------------------------
7819
+ PostsControllerTest: test_should_get_edit
7820
+ -----------------------------------------
7821
+ schema (5.2ms) schema
7822
+ shutdown (2.2ms) shutdown
7823
+ --------------------------------------------
7824
+ PostsControllerTest: test_should_create_post
7825
+ --------------------------------------------
7826
+ shutdown (2.6ms) shutdown
7827
+ ---------------------------------------------
7828
+ PostsControllerTest: test_should_destroy_post
7829
+ ---------------------------------------------
7830
+ shutdown (1.0ms) shutdown
7831
+ ------------------------------------------
7832
+ PostsControllerTest: test_should_get_index
7833
+ ------------------------------------------
7834
+ shutdown (1.6ms) shutdown
7835
+ ----------------------------------------
7836
+ PostsControllerTest: test_should_get_new
7837
+ ----------------------------------------
7838
+ shutdown (2.6ms) shutdown
7839
+ --------------------------------------------
7840
+ PostsControllerTest: test_should_update_post
7841
+ --------------------------------------------
7842
+ shutdown (2.6ms) shutdown
7843
+ ------------------------------------------
7844
+ PostsControllerTest: test_should_show_post
7845
+ ------------------------------------------
7846
+ shutdown (2.8ms) shutdown
7847
+ ---------------------------------------------
7848
+ AgeTest: test_validate:__key:_invalid:_string
7849
+ ---------------------------------------------
7850
+ shutdown (2.6ms) shutdown
7851
+ ----------------------------
7852
+ PostTest: test_.create(Hash)
7853
+ ----------------------------
7854
+ shutdown (2.5ms) shutdown
7855
+ ------------------------------
7856
+ PostTest: test_.create([Hash])
7857
+ ------------------------------
7858
+ shutdown (2.5ms) shutdown
7859
+ ----------------------------------------
7860
+ PostsControllerTest: test_should_get_new
7861
+ ----------------------------------------
7862
+ object_exist (2.7ms) object_exist --name "schema_versions"
7863
+ table_create (2.0ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
7864
+ table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts"
7865
+ column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
7866
+ column_create (1.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
7867
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
7868
+ table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
7869
+ schema (4.1ms) schema
7870
+ column_create (3.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
7871
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
7872
+ table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
7873
+ load (1.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
7874
+ schema (4.2ms) schema
7875
+ load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
7876
+ Started GET "/posts/new" for 127.0.0.1 at 2017-03-03 20:56:39 +0900
7877
+ Processing by PostsController#new as HTML
7878
+ Rendering posts/new.html.erb within layouts/application
7879
+ Rendered posts/_form.html.erb (38.2ms)
7880
+ Rendered posts/new.html.erb within layouts/application (43.6ms)
7881
+ Completed 200 OK in 294ms (Views: 272.8ms | Groonga: 0.0ms)
7882
+ shutdown (2.3ms) shutdown
7883
+ --------------------------------------------
7884
+ PostsControllerTest: test_should_update_post
7885
+ --------------------------------------------
7886
+ object_exist (2.6ms) object_exist --name "schema_versions"
7887
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
7888
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
7889
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
7890
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
7891
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
7892
+ table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
7893
+ schema (5.0ms) schema
7894
+ column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
7895
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
7896
+ table_create (2.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
7897
+ load (2.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
7898
+ load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
7899
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-03 20:56:40 +0900
7900
+ Processing by PostsController#update as HTML
7901
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
7902
+ select (57.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
7903
+ load (1.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
7904
+ Redirected to http://www.example.com/posts/1
7905
+ Completed 302 Found in 61ms (Groonga: 58.1ms)
7906
+ shutdown (0.8ms) shutdown
7907
+ --------------------------------------------
7908
+ PostsControllerTest: test_should_create_post
7909
+ --------------------------------------------
7910
+ object_exist (2.5ms) object_exist --name "schema_versions"
7911
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
7912
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
7913
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
7914
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
7915
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
7916
+ table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
7917
+ schema (5.2ms) schema
7918
+ column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
7919
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
7920
+ table_create (3.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
7921
+ load (2.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
7922
+ load (4.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
7923
+ select (2.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
7924
+ Started POST "/posts" for 127.0.0.1 at 2017-03-03 20:56:40 +0900
7925
+ Processing by PostsController#create as HTML
7926
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
7927
+ load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
7928
+ Redirected to http://www.example.com/posts/2
7929
+ Completed 302 Found in 6ms (Groonga: 2.8ms)
7930
+ select (1.8ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
7931
+ select (2.1ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts"
7932
+ shutdown (1.9ms) shutdown
7933
+ ---------------------------------------------
7934
+ PostsControllerTest: test_should_destroy_post
7935
+ ---------------------------------------------
7936
+ object_exist (2.7ms) object_exist --name "schema_versions"
7937
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
7938
+ table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts"
7939
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
7940
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
7941
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
7942
+ table_create (2.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
7943
+ schema (4.6ms) schema
7944
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
7945
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
7946
+ table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
7947
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
7948
+ load (4.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
7949
+ select (2.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
7950
+ Started DELETE "/posts/1" for 127.0.0.1 at 2017-03-03 20:56:40 +0900
7951
+ Processing by PostsController#destroy as HTML
7952
+ Parameters: {"id"=>"1"}
7953
+ select (48.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
7954
+ delete (1.2ms) delete --filter "_id == 1" --table "posts"
7955
+ Redirected to http://www.example.com/posts
7956
+ Completed 302 Found in 52ms (Groonga: 50.1ms)
7957
+ select (1.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
7958
+ shutdown (0.8ms) shutdown
7959
+ -----------------------------------------
7960
+ PostsControllerTest: test_should_get_edit
7961
+ -----------------------------------------
7962
+ object_exist (2.5ms) object_exist --name "schema_versions"
7963
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
7964
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
7965
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
7966
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
7967
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
7968
+ table_create (2.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
7969
+ schema (6.3ms) schema
7970
+ column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
7971
+ load (2.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
7972
+ table_create (2.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
7973
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
7974
+ load (4.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
7975
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2017-03-03 20:56:40 +0900
7976
+ Processing by PostsController#edit as HTML
7977
+ Parameters: {"id"=>"1"}
7978
+ select (58.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
7979
+ Rendering posts/edit.html.erb within layouts/application
7980
+ Rendered posts/_form.html.erb (1.6ms)
7981
+ Rendered posts/edit.html.erb within layouts/application (2.5ms)
7982
+ Completed 200 OK in 66ms (Views: 4.5ms | Groonga: 58.6ms)
7983
+ shutdown (1.0ms) shutdown
7984
+ ------------------------------------------
7985
+ PostsControllerTest: test_should_show_post
7986
+ ------------------------------------------
7987
+ object_exist (2.6ms) object_exist --name "schema_versions"
7988
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
7989
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
7990
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
7991
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
7992
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
7993
+ table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
7994
+ schema (5.2ms) schema
7995
+ column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
7996
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
7997
+ table_create (2.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
7998
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
7999
+ load (4.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8000
+ Started GET "/posts/1" for 127.0.0.1 at 2017-03-03 20:56:41 +0900
8001
+ Processing by PostsController#show as HTML
8002
+ Parameters: {"id"=>"1"}
8003
+ select (51.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8004
+ Rendering posts/show.html.erb within layouts/application
8005
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
8006
+ Completed 200 OK in 56ms (Views: 2.2ms | Groonga: 51.7ms)
8007
+ shutdown (1.1ms) shutdown
8008
+ ------------------------------------------
8009
+ PostsControllerTest: test_should_get_index
8010
+ ------------------------------------------
8011
+ object_exist (2.5ms) object_exist --name "schema_versions"
8012
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8013
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8014
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8015
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8016
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8017
+ table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8018
+ schema (5.1ms) schema
8019
+ column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8020
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8021
+ table_create (2.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8022
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8023
+ load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8024
+ Started GET "/posts" for 127.0.0.1 at 2017-03-03 20:56:41 +0900
8025
+ Processing by PostsController#index as HTML
8026
+ Rendering posts/index.html.erb within layouts/application
8027
+ select (3.0ms) select --limit "-1" --match_columns "body" --table "posts"
8028
+ Rendered posts/index.html.erb within layouts/application (6.3ms)
8029
+ Completed 200 OK in 15ms (Views: 9.1ms | Groonga: 3.0ms)
8030
+ shutdown (2.2ms) shutdown
8031
+ ---------------------------------------------
8032
+ AgeTest: test_validate:__key:_invalid:_string
8033
+ ---------------------------------------------
8034
+ object_exist (2.6ms) object_exist --name "schema_versions"
8035
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8036
+ table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8037
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8038
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8039
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8040
+ table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8041
+ schema (5.1ms) schema
8042
+ column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8043
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8044
+ table_create (3.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8045
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8046
+ shutdown (1.9ms) shutdown
8047
+ ----------------------------
8048
+ PostTest: test_.create(Hash)
8049
+ ----------------------------
8050
+ object_exist (2.6ms) object_exist --name "schema_versions"
8051
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8052
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8053
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8054
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8055
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8056
+ table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8057
+ schema (5.2ms) schema
8058
+ column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8059
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8060
+ table_create (2.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8061
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8062
+ load (2.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"
8063
+ select (58.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
8064
+ shutdown (1.1ms) shutdown
8065
+ ------------------------------
8066
+ PostTest: test_.create([Hash])
8067
+ ------------------------------
8068
+ object_exist (2.7ms) object_exist --name "schema_versions"
8069
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8070
+ table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8071
+ column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8072
+ column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8073
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8074
+ table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8075
+ schema (4.7ms) schema
8076
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8077
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8078
+ table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8079
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8080
+ load (3.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"
8081
+ load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"
8082
+ select (60.3ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
8083
+ select (1.2ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"
8084
+ shutdown (0.9ms) shutdown
8085
+ ----------------------------
8086
+ PostTest: test_.create(Hash)
8087
+ ----------------------------
8088
+ object_exist (1.6ms) object_exist --name "schema_versions"
8089
+ table_create (1.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8090
+ table_create (1.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8091
+ column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8092
+ column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8093
+ load (1.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8094
+ table_create (1.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8095
+ schema (3.8ms) schema
8096
+ column_create (2.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8097
+ load (1.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8098
+ table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8099
+ load (1.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8100
+ schema (3.9ms) schema
8101
+ load (2.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"
8102
+ select (33.1ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
8103
+ shutdown (1.0ms) shutdown
8104
+ ------------------------------
8105
+ PostTest: test_.create([Hash])
8106
+ ------------------------------
8107
+ object_exist (2.7ms) object_exist --name "schema_versions"
8108
+ table_create (3.7ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8109
+ table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8110
+ column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8111
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8112
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8113
+ table_create (3.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8114
+ schema (5.4ms) schema
8115
+ column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8116
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8117
+ table_create (3.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8118
+ load (2.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8119
+ load (3.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"
8120
+ load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"
8121
+ select (46.6ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
8122
+ select (1.7ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"
8123
+ shutdown (1.5ms) shutdown
8124
+ ----------------------------------------
8125
+ PostsControllerTest: test_should_get_new
8126
+ ----------------------------------------
8127
+ object_exist (2.8ms) object_exist --name "schema_versions"
8128
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8129
+ table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8130
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8131
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8132
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8133
+ table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8134
+ schema (5.1ms) schema
8135
+ column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8136
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8137
+ table_create (2.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8138
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8139
+ load (4.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8140
+ Started GET "/posts/new" for 127.0.0.1 at 2017-03-03 20:59:42 +0900
8141
+ Processing by PostsController#new as HTML
8142
+ Rendering posts/new.html.erb within layouts/application
8143
+ Rendered posts/_form.html.erb (8.9ms)
8144
+ Rendered posts/new.html.erb within layouts/application (10.0ms)
8145
+ Completed 200 OK in 101ms (Views: 95.4ms | Groonga: 0.0ms)
8146
+ shutdown (1.1ms) shutdown
8147
+ ------------------------------------------
8148
+ PostsControllerTest: test_should_show_post
8149
+ ------------------------------------------
8150
+ object_exist (2.6ms) object_exist --name "schema_versions"
8151
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8152
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8153
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8154
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8155
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8156
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8157
+ schema (5.1ms) schema
8158
+ column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8159
+ load (2.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8160
+ table_create (2.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8161
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8162
+ load (4.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8163
+ Started GET "/posts/1" for 127.0.0.1 at 2017-03-03 20:59:42 +0900
8164
+ Processing by PostsController#show as HTML
8165
+ Parameters: {"id"=>"1"}
8166
+ select (61.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8167
+ Rendering posts/show.html.erb within layouts/application
8168
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
8169
+ Completed 200 OK in 65ms (Views: 2.1ms | Groonga: 61.1ms)
8170
+ shutdown (0.9ms) shutdown
8171
+ ---------------------------------------------
8172
+ PostsControllerTest: test_should_destroy_post
8173
+ ---------------------------------------------
8174
+ object_exist (2.5ms) object_exist --name "schema_versions"
8175
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8176
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8177
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8178
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8179
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8180
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8181
+ schema (5.0ms) schema
8182
+ column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8183
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8184
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8185
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8186
+ load (4.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8187
+ select (2.6ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8188
+ Started DELETE "/posts/1" for 127.0.0.1 at 2017-03-03 20:59:43 +0900
8189
+ Processing by PostsController#destroy as HTML
8190
+ Parameters: {"id"=>"1"}
8191
+ select (39.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8192
+ delete (1.3ms) delete --filter "_id == 1" --table "posts"
8193
+ Redirected to http://www.example.com/posts
8194
+ Completed 302 Found in 44ms (Groonga: 40.7ms)
8195
+ select (1.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8196
+ shutdown (0.8ms) shutdown
8197
+ --------------------------------------------
8198
+ PostsControllerTest: test_should_update_post
8199
+ --------------------------------------------
8200
+ object_exist (2.5ms) object_exist --name "schema_versions"
8201
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8202
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8203
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8204
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8205
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8206
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8207
+ schema (5.1ms) schema
8208
+ column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8209
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8210
+ table_create (2.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8211
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8212
+ load (4.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8213
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-03 20:59:43 +0900
8214
+ Processing by PostsController#update as HTML
8215
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
8216
+ select (56.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8217
+ load (1.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
8218
+ Redirected to http://www.example.com/posts/1
8219
+ Completed 302 Found in 60ms (Groonga: 57.1ms)
8220
+ shutdown (0.6ms) shutdown
8221
+ --------------------------------------------
8222
+ PostsControllerTest: test_should_create_post
8223
+ --------------------------------------------
8224
+ object_exist (2.5ms) object_exist --name "schema_versions"
8225
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8226
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8227
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8228
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8229
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8230
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8231
+ schema (5.1ms) schema
8232
+ column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8233
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8234
+ table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8235
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8236
+ load (2.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8237
+ select (1.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8238
+ Started POST "/posts" for 127.0.0.1 at 2017-03-03 20:59:43 +0900
8239
+ Processing by PostsController#create as HTML
8240
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
8241
+ load (1.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8242
+ Redirected to http://www.example.com/posts/2
8243
+ Completed 302 Found in 3ms (Groonga: 1.6ms)
8244
+ select (1.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8245
+ select (1.9ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts"
8246
+ shutdown (1.2ms) shutdown
8247
+ -----------------------------------------
8248
+ PostsControllerTest: test_should_get_edit
8249
+ -----------------------------------------
8250
+ object_exist (2.7ms) object_exist --name "schema_versions"
8251
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8252
+ table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8253
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8254
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8255
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8256
+ table_create (2.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8257
+ schema (5.1ms) schema
8258
+ column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8259
+ load (4.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8260
+ table_create (2.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8261
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8262
+ load (4.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8263
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2017-03-03 20:59:43 +0900
8264
+ Processing by PostsController#edit as HTML
8265
+ Parameters: {"id"=>"1"}
8266
+ select (49.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8267
+ Rendering posts/edit.html.erb within layouts/application
8268
+ Rendered posts/_form.html.erb (1.3ms)
8269
+ Rendered posts/edit.html.erb within layouts/application (2.0ms)
8270
+ Completed 200 OK in 55ms (Views: 3.6ms | Groonga: 49.0ms)
8271
+ shutdown (1.0ms) shutdown
8272
+ ------------------------------------------
8273
+ PostsControllerTest: test_should_get_index
8274
+ ------------------------------------------
8275
+ object_exist (2.6ms) object_exist --name "schema_versions"
8276
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8277
+ table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8278
+ column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8279
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8280
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8281
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8282
+ schema (5.2ms) schema
8283
+ column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8284
+ load (2.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8285
+ table_create (2.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8286
+ load (2.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8287
+ load (4.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8288
+ Started GET "/posts" for 127.0.0.1 at 2017-03-03 20:59:43 +0900
8289
+ Processing by PostsController#index as HTML
8290
+ Rendering posts/index.html.erb within layouts/application
8291
+ select (3.0ms) select --limit "-1" --match_columns "body" --table "posts"
8292
+ Rendered posts/index.html.erb within layouts/application (6.3ms)
8293
+ Completed 200 OK in 14ms (Views: 8.8ms | Groonga: 3.0ms)
8294
+ shutdown (2.3ms) shutdown
8295
+ ---------------------------------------------
8296
+ AgeTest: test_validate:__key:_invalid:_string
8297
+ ---------------------------------------------
8298
+ object_exist (2.4ms) object_exist --name "schema_versions"
8299
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8300
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8301
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8302
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8303
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8304
+ table_create (1.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8305
+ schema (3.3ms) schema
8306
+ column_create (2.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8307
+ load (1.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8308
+ table_create (1.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8309
+ load (1.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8310
+ shutdown (1.3ms) shutdown
8311
+ ------------------------------
8312
+ PostTest: test_.create([Hash])
8313
+ ------------------------------
8314
+ object_exist (3.0ms) object_exist --name "schema_versions"
8315
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8316
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8317
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8318
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8319
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8320
+ table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8321
+ schema (3.9ms) schema
8322
+ column_create (2.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8323
+ load (1.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8324
+ table_create (1.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8325
+ load (1.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8326
+ schema (3.9ms) schema
8327
+ load (2.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"
8328
+ load (2.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"
8329
+ select (45.6ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
8330
+ select (1.3ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"
8331
+ shutdown (0.8ms) shutdown
8332
+ ----------------------------
8333
+ PostTest: test_.create(Hash)
8334
+ ----------------------------
8335
+ object_exist (2.6ms) object_exist --name "schema_versions"
8336
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8337
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8338
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8339
+ column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8340
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8341
+ table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8342
+ schema (4.7ms) schema
8343
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8344
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8345
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8346
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8347
+ load (2.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"
8348
+ select (51.6ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
8349
+ shutdown (1.0ms) shutdown
8350
+ ---------------------------------------------
8351
+ PostsControllerTest: test_should_destroy_post
8352
+ ---------------------------------------------
8353
+ object_exist (3.3ms) object_exist --name "schema_versions"
8354
+ table_create (2.8ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8355
+ table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8356
+ column_create (2.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8357
+ column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8358
+ load (2.8ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8359
+ table_create (2.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8360
+ schema (5.4ms) schema
8361
+ column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8362
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8363
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8364
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8365
+ load (4.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8366
+ select (2.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8367
+ Started DELETE "/posts/1" for 127.0.0.1 at 2017-03-03 21:00:00 +0900
8368
+ Processing by PostsController#destroy as HTML
8369
+ Parameters: {"id"=>"1"}
8370
+ select (28.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8371
+ delete (1.6ms) delete --filter "_id == 1" --table "posts"
8372
+ Redirected to http://www.example.com/posts
8373
+ Completed 302 Found in 39ms (Groonga: 30.2ms)
8374
+ select (1.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8375
+ shutdown (0.8ms) shutdown
8376
+ ------------------------------------------
8377
+ PostsControllerTest: test_should_show_post
8378
+ ------------------------------------------
8379
+ object_exist (2.5ms) object_exist --name "schema_versions"
8380
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8381
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8382
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8383
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8384
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8385
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8386
+ schema (4.7ms) schema
8387
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8388
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8389
+ table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8390
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8391
+ load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8392
+ Started GET "/posts/1" for 127.0.0.1 at 2017-03-03 21:00:00 +0900
8393
+ Processing by PostsController#show as HTML
8394
+ Parameters: {"id"=>"1"}
8395
+ select (47.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8396
+ Rendering posts/show.html.erb within layouts/application
8397
+ Rendered posts/show.html.erb within layouts/application (0.9ms)
8398
+ Completed 200 OK in 137ms (Views: 87.2ms | Groonga: 47.7ms)
8399
+ shutdown (1.0ms) shutdown
8400
+ ----------------------------------------
8401
+ PostsControllerTest: test_should_get_new
8402
+ ----------------------------------------
8403
+ object_exist (2.3ms) object_exist --name "schema_versions"
8404
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8405
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8406
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8407
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8408
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8409
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8410
+ schema (4.8ms) schema
8411
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8412
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8413
+ table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8414
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8415
+ load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8416
+ Started GET "/posts/new" for 127.0.0.1 at 2017-03-03 21:00:00 +0900
8417
+ Processing by PostsController#new as HTML
8418
+ Rendering posts/new.html.erb within layouts/application
8419
+ Rendered posts/_form.html.erb (19.6ms)
8420
+ Rendered posts/new.html.erb within layouts/application (21.8ms)
8421
+ Completed 200 OK in 27ms (Views: 25.6ms | Groonga: 0.0ms)
8422
+ shutdown (1.3ms) shutdown
8423
+ ------------------------------------------
8424
+ PostsControllerTest: test_should_get_index
8425
+ ------------------------------------------
8426
+ object_exist (2.6ms) object_exist --name "schema_versions"
8427
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8428
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8429
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8430
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8431
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8432
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8433
+ schema (4.7ms) schema
8434
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8435
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8436
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8437
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8438
+ load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8439
+ Started GET "/posts" for 127.0.0.1 at 2017-03-03 21:00:00 +0900
8440
+ Processing by PostsController#index as HTML
8441
+ Rendering posts/index.html.erb within layouts/application
8442
+ select (2.9ms) select --limit "-1" --match_columns "body" --table "posts"
8443
+ Rendered posts/index.html.erb within layouts/application (6.1ms)
8444
+ Completed 200 OK in 14ms (Views: 9.0ms | Groonga: 2.9ms)
8445
+ shutdown (2.1ms) shutdown
8446
+ --------------------------------------------
8447
+ PostsControllerTest: test_should_create_post
8448
+ --------------------------------------------
8449
+ object_exist (2.6ms) object_exist --name "schema_versions"
8450
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8451
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8452
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8453
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8454
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8455
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8456
+ schema (5.0ms) schema
8457
+ column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8458
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8459
+ table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8460
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8461
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8462
+ select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8463
+ Started POST "/posts" for 127.0.0.1 at 2017-03-03 21:00:01 +0900
8464
+ Processing by PostsController#create as HTML
8465
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
8466
+ load (2.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8467
+ Redirected to http://www.example.com/posts/2
8468
+ Completed 302 Found in 6ms (Groonga: 2.9ms)
8469
+ select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8470
+ select (2.8ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts"
8471
+ shutdown (2.0ms) shutdown
8472
+ -----------------------------------------
8473
+ PostsControllerTest: test_should_get_edit
8474
+ -----------------------------------------
8475
+ object_exist (2.5ms) object_exist --name "schema_versions"
8476
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8477
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8478
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8479
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8480
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8481
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8482
+ schema (4.7ms) schema
8483
+ column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8484
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8485
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8486
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8487
+ load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8488
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2017-03-03 21:00:01 +0900
8489
+ Processing by PostsController#edit as HTML
8490
+ Parameters: {"id"=>"1"}
8491
+ select (53.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8492
+ Rendering posts/edit.html.erb within layouts/application
8493
+ Rendered posts/_form.html.erb (1.3ms)
8494
+ Rendered posts/edit.html.erb within layouts/application (2.0ms)
8495
+ Completed 200 OK in 59ms (Views: 3.6ms | Groonga: 53.0ms)
8496
+ shutdown (0.9ms) shutdown
8497
+ --------------------------------------------
8498
+ PostsControllerTest: test_should_update_post
8499
+ --------------------------------------------
8500
+ object_exist (1.1ms) object_exist --name "schema_versions"
8501
+ table_create (0.7ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8502
+ table_create (0.8ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8503
+ column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8504
+ column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8505
+ load (0.8ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8506
+ table_create (1.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8507
+ schema (1.3ms) schema
8508
+ column_create (1.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8509
+ load (0.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8510
+ table_create (0.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8511
+ load (0.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8512
+ load (1.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8513
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-03 21:00:01 +0900
8514
+ Processing by PostsController#update as HTML
8515
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
8516
+ select (31.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8517
+ load (1.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
8518
+ Redirected to http://www.example.com/posts/1
8519
+ Completed 302 Found in 34ms (Groonga: 32.5ms)
8520
+ shutdown (0.8ms) shutdown
8521
+ ---------------------------------------------
8522
+ AgeTest: test_validate:__key:_invalid:_string
8523
+ ---------------------------------------------
8524
+ object_exist (2.5ms) object_exist --name "schema_versions"
8525
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8526
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8527
+ column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8528
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8529
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8530
+ table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8531
+ schema (4.8ms) schema
8532
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8533
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8534
+ table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8535
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8536
+ shutdown (2.3ms) shutdown
8537
+ ---------------------------------------------
8538
+ AgeTest: test_validate:__key:_invalid:_string
8539
+ ---------------------------------------------
8540
+ object_exist (1.6ms) object_exist --name "schema_versions"
8541
+ table_create (1.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8542
+ table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8543
+ column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8544
+ column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8545
+ load (1.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8546
+ table_create (1.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8547
+ schema (3.2ms) schema
8548
+ column_create (1.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8549
+ load (1.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8550
+ table_create (1.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8551
+ load (1.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8552
+ schema (2.6ms) schema
8553
+ shutdown (1.4ms) shutdown
8554
+ ----------------------------
8555
+ PostTest: test_.create(Hash)
8556
+ ----------------------------
8557
+ object_exist (1.2ms) object_exist --name "schema_versions"
8558
+ table_create (1.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8559
+ table_create (1.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8560
+ column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8561
+ column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8562
+ load (1.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8563
+ table_create (1.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8564
+ schema (2.4ms) schema
8565
+ column_create (1.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8566
+ load (1.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8567
+ table_create (1.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8568
+ load (1.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8569
+ load (1.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"
8570
+ select (37.7ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
8571
+ shutdown (0.8ms) shutdown
8572
+ ------------------------------
8573
+ PostTest: test_.create([Hash])
8574
+ ------------------------------
8575
+ object_exist (2.8ms) object_exist --name "schema_versions"
8576
+ table_create (2.7ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8577
+ table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8578
+ column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8579
+ column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8580
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8581
+ table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8582
+ schema (5.1ms) schema
8583
+ column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8584
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8585
+ table_create (2.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8586
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8587
+ load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"
8588
+ load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"
8589
+ select (51.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
8590
+ select (1.3ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"
8591
+ shutdown (0.8ms) shutdown
8592
+ --------------------------------------------
8593
+ PostsControllerTest: test_should_create_post
8594
+ --------------------------------------------
8595
+ object_exist (1.4ms) object_exist --name "schema_versions"
8596
+ table_create (1.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8597
+ table_create (1.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8598
+ column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8599
+ column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8600
+ load (1.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8601
+ table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8602
+ schema (2.6ms) schema
8603
+ column_create (2.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8604
+ load (1.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8605
+ table_create (1.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8606
+ load (1.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8607
+ load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8608
+ select (1.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8609
+ Started POST "/posts" for 127.0.0.1 at 2017-03-03 21:00:14 +0900
8610
+ Processing by PostsController#create as HTML
8611
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
8612
+ load (1.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8613
+ Redirected to http://www.example.com/posts/2
8614
+ Completed 302 Found in 9ms (Groonga: 1.3ms)
8615
+ select (1.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8616
+ select (1.0ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts"
8617
+ shutdown (0.9ms) shutdown
8618
+ ---------------------------------------------
8619
+ PostsControllerTest: test_should_destroy_post
8620
+ ---------------------------------------------
8621
+ object_exist (2.7ms) object_exist --name "schema_versions"
8622
+ table_create (3.1ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8623
+ table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8624
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8625
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8626
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8627
+ table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8628
+ schema (4.7ms) schema
8629
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8630
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8631
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8632
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8633
+ load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8634
+ select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8635
+ Started DELETE "/posts/1" for 127.0.0.1 at 2017-03-03 21:00:14 +0900
8636
+ Processing by PostsController#destroy as HTML
8637
+ Parameters: {"id"=>"1"}
8638
+ select (48.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8639
+ delete (1.0ms) delete --filter "_id == 1" --table "posts"
8640
+ Redirected to http://www.example.com/posts
8641
+ Completed 302 Found in 52ms (Groonga: 49.5ms)
8642
+ select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8643
+ shutdown (0.9ms) shutdown
8644
+ ------------------------------------------
8645
+ PostsControllerTest: test_should_show_post
8646
+ ------------------------------------------
8647
+ object_exist (2.5ms) object_exist --name "schema_versions"
8648
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8649
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8650
+ column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8651
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8652
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8653
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8654
+ schema (4.7ms) schema
8655
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8656
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8657
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8658
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8659
+ load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8660
+ Started GET "/posts/1" for 127.0.0.1 at 2017-03-03 21:00:15 +0900
8661
+ Processing by PostsController#show as HTML
8662
+ Parameters: {"id"=>"1"}
8663
+ select (58.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8664
+ Rendering posts/show.html.erb within layouts/application
8665
+ Rendered posts/show.html.erb within layouts/application (0.9ms)
8666
+ Completed 200 OK in 151ms (Views: 90.8ms | Groonga: 58.6ms)
8667
+ shutdown (1.2ms) shutdown
8668
+ --------------------------------------------
8669
+ PostsControllerTest: test_should_update_post
8670
+ --------------------------------------------
8671
+ object_exist (2.6ms) object_exist --name "schema_versions"
8672
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8673
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8674
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8675
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8676
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8677
+ table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8678
+ schema (5.0ms) schema
8679
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8680
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8681
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8682
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8683
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8684
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-03 21:00:15 +0900
8685
+ Processing by PostsController#update as HTML
8686
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
8687
+ select (62.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8688
+ load (1.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
8689
+ Redirected to http://www.example.com/posts/1
8690
+ Completed 302 Found in 67ms (Groonga: 63.8ms)
8691
+ shutdown (0.7ms) shutdown
8692
+ ------------------------------------------
8693
+ PostsControllerTest: test_should_get_index
8694
+ ------------------------------------------
8695
+ object_exist (2.5ms) object_exist --name "schema_versions"
8696
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8697
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8698
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8699
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8700
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8701
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8702
+ schema (4.7ms) schema
8703
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8704
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8705
+ table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8706
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8707
+ load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8708
+ Started GET "/posts" for 127.0.0.1 at 2017-03-03 21:00:15 +0900
8709
+ Processing by PostsController#index as HTML
8710
+ Rendering posts/index.html.erb within layouts/application
8711
+ select (2.8ms) select --limit "-1" --match_columns "body" --table "posts"
8712
+ Rendered posts/index.html.erb within layouts/application (6.1ms)
8713
+ Completed 200 OK in 14ms (Views: 9.0ms | Groonga: 2.8ms)
8714
+ shutdown (2.1ms) shutdown
8715
+ ----------------------------------------
8716
+ PostsControllerTest: test_should_get_new
8717
+ ----------------------------------------
8718
+ object_exist (2.5ms) object_exist --name "schema_versions"
8719
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8720
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8721
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8722
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8723
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8724
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8725
+ schema (4.7ms) schema
8726
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8727
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8728
+ table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8729
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8730
+ load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8731
+ Started GET "/posts/new" for 127.0.0.1 at 2017-03-03 21:00:15 +0900
8732
+ Processing by PostsController#new as HTML
8733
+ Rendering posts/new.html.erb within layouts/application
8734
+ Rendered posts/_form.html.erb (15.1ms)
8735
+ Rendered posts/new.html.erb within layouts/application (17.3ms)
8736
+ Completed 200 OK in 23ms (Views: 21.4ms | Groonga: 0.0ms)
8737
+ shutdown (1.3ms) shutdown
8738
+ -----------------------------------------
8739
+ PostsControllerTest: test_should_get_edit
8740
+ -----------------------------------------
8741
+ object_exist (2.6ms) object_exist --name "schema_versions"
8742
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8743
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8744
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8745
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8746
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8747
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8748
+ schema (4.7ms) schema
8749
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8750
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8751
+ table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8752
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8753
+ load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8754
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2017-03-03 21:00:15 +0900
8755
+ Processing by PostsController#edit as HTML
8756
+ Parameters: {"id"=>"1"}
8757
+ select (62.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8758
+ Rendering posts/edit.html.erb within layouts/application
8759
+ Rendered posts/_form.html.erb (1.4ms)
8760
+ Rendered posts/edit.html.erb within layouts/application (2.0ms)
8761
+ Completed 200 OK in 68ms (Views: 3.7ms | Groonga: 62.6ms)
8762
+ shutdown (1.0ms) shutdown
8763
+ ---------------------------------------------
8764
+ AgeTest: test_validate:__key:_invalid:_string
8765
+ ---------------------------------------------
8766
+ object_exist (3.7ms) object_exist --name "schema_versions"
8767
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8768
+ table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8769
+ column_create (3.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8770
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8771
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8772
+ table_create (3.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8773
+ schema (5.7ms) schema
8774
+ column_create (4.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8775
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8776
+ table_create (3.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8777
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8778
+ schema (5.7ms) schema
8779
+ shutdown (2.5ms) shutdown
8780
+ -----------------------------------------
8781
+ MigrationGeneratorTest: test_create_table
8782
+ -----------------------------------------
8783
+ ----------------------------------------------
8784
+ MigrationGeneratorTest: test_set_config:_value
8785
+ ----------------------------------------------
8786
+ ------------------------------------------
8787
+ MigrationGeneratorTest: test_remove_column
8788
+ ------------------------------------------
8789
+ ---------------------------------------
8790
+ MigrationGeneratorTest: test_set_config
8791
+ ---------------------------------------
8792
+ ---------------------------------------
8793
+ MigrationGeneratorTest: test_add_column
8794
+ ---------------------------------------
8795
+ ------------------------------------------
8796
+ MigrationGeneratorTest: test_delete_config
8797
+ ------------------------------------------
8798
+ ----------------------------
8799
+ PostTest: test_.create(Hash)
8800
+ ----------------------------
8801
+ object_exist (1.6ms) object_exist --name "schema_versions"
8802
+ table_create (1.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8803
+ table_create (1.8ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8804
+ column_create (1.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8805
+ column_create (1.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8806
+ load (1.7ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8807
+ table_create (1.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8808
+ schema (3.4ms) schema
8809
+ column_create (2.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8810
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8811
+ table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8812
+ load (1.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8813
+ load (3.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"
8814
+ select (137.5ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
8815
+ shutdown (0.9ms) shutdown
8816
+ ------------------------------
8817
+ PostTest: test_.create([Hash])
8818
+ ------------------------------
8819
+ object_exist (2.4ms) object_exist --name "schema_versions"
8820
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8821
+ table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8822
+ column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8823
+ column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8824
+ load (2.9ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8825
+ table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8826
+ schema (5.2ms) schema
8827
+ column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8828
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8829
+ table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8830
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8831
+ load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"
8832
+ load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"
8833
+ select (40.6ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
8834
+ select (1.3ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"
8835
+ shutdown (1.0ms) shutdown
8836
+ -----------------------------------------
8837
+ PostsControllerTest: test_should_get_edit
8838
+ -----------------------------------------
8839
+ object_exist (2.4ms) object_exist --name "schema_versions"
8840
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8841
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8842
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8843
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8844
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8845
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8846
+ schema (4.6ms) schema
8847
+ column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8848
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8849
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8850
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8851
+ load (4.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8852
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2017-03-07 12:38:38 +0900
8853
+ Processing by PostsController#edit as HTML
8854
+ Parameters: {"id"=>"1"}
8855
+ select (31.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8856
+ Rendering posts/edit.html.erb within layouts/application
8857
+ Rendered posts/_form.html.erb (40.4ms)
8858
+ Rendered posts/edit.html.erb within layouts/application (56.1ms)
8859
+ Completed 200 OK in 308ms (Views: 264.5ms | Groonga: 31.3ms)
8860
+ shutdown (0.9ms) shutdown
8861
+ ------------------------------------------
8862
+ PostsControllerTest: test_should_get_index
8863
+ ------------------------------------------
8864
+ object_exist (2.2ms) object_exist --name "schema_versions"
8865
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8866
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8867
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8868
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8869
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8870
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8871
+ schema (4.6ms) schema
8872
+ column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8873
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8874
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8875
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8876
+ load (3.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8877
+ Started GET "/posts" for 127.0.0.1 at 2017-03-07 12:38:38 +0900
8878
+ Processing by PostsController#index as HTML
8879
+ Rendering posts/index.html.erb within layouts/application
8880
+ select (2.6ms) select --limit "-1" --match_columns "body" --table "posts"
8881
+ Rendered posts/index.html.erb within layouts/application (5.8ms)
8882
+ Completed 200 OK in 15ms (Views: 9.0ms | Groonga: 2.6ms)
8883
+ shutdown (2.0ms) shutdown
8884
+ --------------------------------------------
8885
+ PostsControllerTest: test_should_update_post
8886
+ --------------------------------------------
8887
+ object_exist (2.4ms) object_exist --name "schema_versions"
8888
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8889
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8890
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8891
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8892
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8893
+ table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8894
+ schema (4.6ms) schema
8895
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8896
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8897
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8898
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8899
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8900
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-07 12:38:38 +0900
8901
+ Processing by PostsController#update as HTML
8902
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
8903
+ select (63.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8904
+ load (1.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
8905
+ Redirected to http://www.example.com/posts/1
8906
+ Completed 302 Found in 68ms (Groonga: 64.7ms)
8907
+ shutdown (0.7ms) shutdown
8908
+ --------------------------------------------
8909
+ PostsControllerTest: test_should_create_post
8910
+ --------------------------------------------
8911
+ object_exist (2.4ms) object_exist --name "schema_versions"
8912
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8913
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8914
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8915
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8916
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8917
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8918
+ schema (4.6ms) schema
8919
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8920
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8921
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8922
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8923
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8924
+ select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8925
+ Started POST "/posts" for 127.0.0.1 at 2017-03-07 12:38:38 +0900
8926
+ Processing by PostsController#create as HTML
8927
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
8928
+ load (3.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8929
+ Redirected to http://www.example.com/posts/2
8930
+ Completed 302 Found in 6ms (Groonga: 3.1ms)
8931
+ select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8932
+ select (2.6ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts"
8933
+ shutdown (1.9ms) shutdown
8934
+ ----------------------------------------
8935
+ PostsControllerTest: test_should_get_new
8936
+ ----------------------------------------
8937
+ object_exist (2.7ms) object_exist --name "schema_versions"
8938
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8939
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8940
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8941
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8942
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8943
+ table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8944
+ schema (4.6ms) schema
8945
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8946
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8947
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8948
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8949
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8950
+ Started GET "/posts/new" for 127.0.0.1 at 2017-03-07 12:38:39 +0900
8951
+ Processing by PostsController#new as HTML
8952
+ Rendering posts/new.html.erb within layouts/application
8953
+ Rendered posts/_form.html.erb (4.7ms)
8954
+ Rendered posts/new.html.erb within layouts/application (7.0ms)
8955
+ Completed 200 OK in 15ms (Views: 12.8ms | Groonga: 0.0ms)
8956
+ shutdown (2.3ms) shutdown
8957
+ ---------------------------------------------
8958
+ PostsControllerTest: test_should_destroy_post
8959
+ ---------------------------------------------
8960
+ object_exist (2.4ms) object_exist --name "schema_versions"
8961
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8962
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8963
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8964
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8965
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8966
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8967
+ schema (4.6ms) schema
8968
+ column_create (3.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8969
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8970
+ table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8971
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8972
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8973
+ select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8974
+ Started DELETE "/posts/1" for 127.0.0.1 at 2017-03-07 12:38:39 +0900
8975
+ Processing by PostsController#destroy as HTML
8976
+ Parameters: {"id"=>"1"}
8977
+ select (60.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
8978
+ delete (1.1ms) delete --filter "_id == 1" --table "posts"
8979
+ Redirected to http://www.example.com/posts
8980
+ Completed 302 Found in 64ms (Groonga: 61.8ms)
8981
+ select (0.8ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
8982
+ shutdown (0.7ms) shutdown
8983
+ ------------------------------------------
8984
+ PostsControllerTest: test_should_show_post
8985
+ ------------------------------------------
8986
+ object_exist (2.3ms) object_exist --name "schema_versions"
8987
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
8988
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
8989
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
8990
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
8991
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
8992
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
8993
+ schema (4.7ms) schema
8994
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
8995
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
8996
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
8997
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
8998
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
8999
+ Started GET "/posts/1" for 127.0.0.1 at 2017-03-07 12:38:39 +0900
9000
+ Processing by PostsController#show as HTML
9001
+ Parameters: {"id"=>"1"}
9002
+ select (54.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9003
+ Rendering posts/show.html.erb within layouts/application
9004
+ Rendered posts/show.html.erb within layouts/application (0.8ms)
9005
+ Completed 200 OK in 60ms (Views: 2.7ms | Groonga: 54.7ms)
9006
+ shutdown (0.8ms) shutdown
9007
+ ---------------------------------------------
9008
+ AgeTest: test_validate:__key:_invalid:_string
9009
+ ---------------------------------------------
9010
+ object_exist (1.3ms) object_exist --name "schema_versions"
9011
+ table_create (1.0ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9012
+ table_create (1.0ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9013
+ column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9014
+ column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9015
+ load (1.0ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9016
+ table_create (1.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9017
+ schema (2.2ms) schema
9018
+ column_create (1.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9019
+ load (1.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9020
+ table_create (1.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9021
+ load (1.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9022
+ schema (2.4ms) schema
9023
+ shutdown (1.1ms) shutdown
9024
+ ------------------------------
9025
+ PostTest: test_.create([Hash])
9026
+ ------------------------------
9027
+ object_exist (2.1ms) object_exist --name "schema_versions"
9028
+ table_create (2.0ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9029
+ table_create (1.8ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9030
+ column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9031
+ column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9032
+ load (1.8ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9033
+ table_create (1.8ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9034
+ schema (3.6ms) schema
9035
+ column_create (2.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9036
+ load (1.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9037
+ table_create (1.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9038
+ load (1.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9039
+ load (1.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"
9040
+ load (1.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"
9041
+ select (51.6ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
9042
+ select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"
9043
+ shutdown (0.7ms) shutdown
9044
+ ----------------------------
9045
+ PostTest: test_.create(Hash)
9046
+ ----------------------------
9047
+ object_exist (2.3ms) object_exist --name "schema_versions"
9048
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9049
+ table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9050
+ column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9051
+ column_create (1.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9052
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9053
+ table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9054
+ schema (3.6ms) schema
9055
+ column_create (2.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9056
+ load (1.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9057
+ table_create (1.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9058
+ load (1.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9059
+ load (1.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"
9060
+ select (49.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
9061
+ shutdown (0.8ms) shutdown
9062
+ -----------------------------------------
9063
+ MigrationGeneratorTest: test_create_table
9064
+ -----------------------------------------
9065
+ ------------------------------------------
9066
+ MigrationGeneratorTest: test_delete_config
9067
+ ------------------------------------------
9068
+ ---------------------------------------
9069
+ MigrationGeneratorTest: test_add_column
9070
+ ---------------------------------------
9071
+ ----------------------------------------------
9072
+ MigrationGeneratorTest: test_set_config:_value
9073
+ ----------------------------------------------
9074
+ ------------------------------------------
9075
+ MigrationGeneratorTest: test_remove_column
9076
+ ------------------------------------------
9077
+ ---------------------------------------
9078
+ MigrationGeneratorTest: test_set_config
9079
+ ---------------------------------------
9080
+ ---------------------------------------------
9081
+ PostsControllerTest: test_should_destroy_post
9082
+ ---------------------------------------------
9083
+ object_exist (1.1ms) object_exist --name "schema_versions"
9084
+ table_create (1.1ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9085
+ table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9086
+ column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9087
+ column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9088
+ load (1.2ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9089
+ table_create (1.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9090
+ schema (2.2ms) schema
9091
+ column_create (1.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9092
+ load (1.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9093
+ table_create (1.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9094
+ load (1.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9095
+ load (1.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9096
+ select (1.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9097
+ Started DELETE "/posts/1" for 127.0.0.1 at 2017-03-07 12:48:38 +0900
9098
+ Processing by PostsController#destroy as HTML
9099
+ Parameters: {"id"=>"1"}
9100
+ select (27.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9101
+ delete (0.9ms) delete --filter "_id == 1" --table "posts"
9102
+ Redirected to http://www.example.com/posts
9103
+ Completed 302 Found in 37ms (Groonga: 28.8ms)
9104
+ select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9105
+ shutdown (0.7ms) shutdown
9106
+ ------------------------------------------
9107
+ PostsControllerTest: test_should_show_post
9108
+ ------------------------------------------
9109
+ object_exist (2.3ms) object_exist --name "schema_versions"
9110
+ table_create (2.1ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9111
+ table_create (1.9ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9112
+ column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9113
+ column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9114
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9115
+ table_create (1.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9116
+ schema (3.8ms) schema
9117
+ column_create (2.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9118
+ load (1.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9119
+ table_create (1.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9120
+ load (1.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9121
+ load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9122
+ Started GET "/posts/1" for 127.0.0.1 at 2017-03-07 12:48:38 +0900
9123
+ Processing by PostsController#show as HTML
9124
+ Parameters: {"id"=>"1"}
9125
+ select (54.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9126
+ Rendering posts/show.html.erb within layouts/application
9127
+ Rendered posts/show.html.erb within layouts/application (0.9ms)
9128
+ Completed 200 OK in 142ms (Views: 86.1ms | Groonga: 54.3ms)
9129
+ shutdown (0.8ms) shutdown
9130
+ ----------------------------------------
9131
+ PostsControllerTest: test_should_get_new
9132
+ ----------------------------------------
9133
+ object_exist (2.4ms) object_exist --name "schema_versions"
9134
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9135
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9136
+ column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9137
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9138
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9139
+ table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9140
+ schema (4.1ms) schema
9141
+ column_create (2.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9142
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9143
+ table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9144
+ load (1.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9145
+ load (2.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9146
+ Started GET "/posts/new" for 127.0.0.1 at 2017-03-07 12:48:38 +0900
9147
+ Processing by PostsController#new as HTML
9148
+ Rendering posts/new.html.erb within layouts/application
9149
+ Rendered posts/_form.html.erb (17.1ms)
9150
+ Rendered posts/new.html.erb within layouts/application (18.9ms)
9151
+ Completed 200 OK in 24ms (Views: 23.0ms | Groonga: 0.0ms)
9152
+ shutdown (1.4ms) shutdown
9153
+ --------------------------------------------
9154
+ PostsControllerTest: test_should_create_post
9155
+ --------------------------------------------
9156
+ object_exist (2.2ms) object_exist --name "schema_versions"
9157
+ table_create (2.0ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9158
+ table_create (1.9ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9159
+ column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9160
+ column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9161
+ load (1.9ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9162
+ table_create (1.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9163
+ schema (3.8ms) schema
9164
+ column_create (2.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9165
+ load (1.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9166
+ table_create (1.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9167
+ load (1.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9168
+ load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9169
+ select (1.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9170
+ Started POST "/posts" for 127.0.0.1 at 2017-03-07 12:48:38 +0900
9171
+ Processing by PostsController#create as HTML
9172
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
9173
+ load (2.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9174
+ Redirected to http://www.example.com/posts/2
9175
+ Completed 302 Found in 5ms (Groonga: 2.3ms)
9176
+ select (1.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9177
+ select (2.3ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts"
9178
+ shutdown (1.7ms) shutdown
9179
+ ------------------------------------------
9180
+ PostsControllerTest: test_should_get_index
9181
+ ------------------------------------------
9182
+ object_exist (2.2ms) object_exist --name "schema_versions"
9183
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9184
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9185
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9186
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9187
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9188
+ table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9189
+ schema (4.5ms) schema
9190
+ column_create (3.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9191
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9192
+ table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9193
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9194
+ load (3.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9195
+ Started GET "/posts" for 127.0.0.1 at 2017-03-07 12:48:38 +0900
9196
+ Processing by PostsController#index as HTML
9197
+ Rendering posts/index.html.erb within layouts/application
9198
+ select (2.4ms) select --limit "-1" --match_columns "body" --table "posts"
9199
+ Rendered posts/index.html.erb within layouts/application (5.2ms)
9200
+ Completed 200 OK in 12ms (Views: 7.9ms | Groonga: 2.4ms)
9201
+ shutdown (1.8ms) shutdown
9202
+ --------------------------------------------
9203
+ PostsControllerTest: test_should_update_post
9204
+ --------------------------------------------
9205
+ object_exist (2.6ms) object_exist --name "schema_versions"
9206
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9207
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9208
+ column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9209
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9210
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9211
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9212
+ schema (4.7ms) schema
9213
+ column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9214
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9215
+ table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9216
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9217
+ load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9218
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-07 12:48:39 +0900
9219
+ Processing by PostsController#update as HTML
9220
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
9221
+ select (55.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9222
+ load (1.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
9223
+ Redirected to http://www.example.com/posts/1
9224
+ Completed 302 Found in 59ms (Groonga: 56.1ms)
9225
+ shutdown (0.8ms) shutdown
9226
+ -----------------------------------------
9227
+ PostsControllerTest: test_should_get_edit
9228
+ -----------------------------------------
9229
+ object_exist (2.6ms) object_exist --name "schema_versions"
9230
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9231
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9232
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9233
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9234
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9235
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9236
+ schema (4.7ms) schema
9237
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9238
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9239
+ table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9240
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9241
+ load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9242
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2017-03-07 12:48:39 +0900
9243
+ Processing by PostsController#edit as HTML
9244
+ Parameters: {"id"=>"1"}
9245
+ select (56.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9246
+ Rendering posts/edit.html.erb within layouts/application
9247
+ Rendered posts/_form.html.erb (1.3ms)
9248
+ Rendered posts/edit.html.erb within layouts/application (2.0ms)
9249
+ Completed 200 OK in 62ms (Views: 3.7ms | Groonga: 56.9ms)
9250
+ shutdown (0.9ms) shutdown
9251
+ ---------------------------------------------
9252
+ AgeTest: test_validate:__key:_invalid:_string
9253
+ ---------------------------------------------
9254
+ object_exist (2.8ms) object_exist --name "schema_versions"
9255
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9256
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9257
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9258
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9259
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9260
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9261
+ schema (4.7ms) schema
9262
+ column_create (3.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9263
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9264
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9265
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9266
+ schema (4.0ms) schema
9267
+ shutdown (1.5ms) shutdown
9268
+ ----------------------------
9269
+ PostTest: test_.create(Hash)
9270
+ ----------------------------
9271
+ object_exist (2.0ms) object_exist --name "schema_versions"
9272
+ table_create (2.1ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9273
+ table_create (1.6ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9274
+ column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9275
+ column_create (1.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9276
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9277
+ table_create (1.8ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9278
+ schema (4.0ms) schema
9279
+ column_create (2.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9280
+ load (1.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9281
+ table_create (1.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9282
+ load (1.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9283
+ load (2.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"
9284
+ select (53.3ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
9285
+ shutdown (0.8ms) shutdown
9286
+ ------------------------------
9287
+ PostTest: test_.create([Hash])
9288
+ ------------------------------
9289
+ object_exist (2.3ms) object_exist --name "schema_versions"
9290
+ table_create (2.6ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9291
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9292
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9293
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9294
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9295
+ table_create (2.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9296
+ schema (5.2ms) schema
9297
+ column_create (4.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9298
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9299
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9300
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9301
+ load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"
9302
+ load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"
9303
+ select (51.7ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
9304
+ select (1.2ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"
9305
+ shutdown (0.7ms) shutdown
9306
+ ---------------------------------------
9307
+ MigrationGeneratorTest: test_set_config
9308
+ ---------------------------------------
9309
+ ----------------------------------------------
9310
+ MigrationGeneratorTest: test_set_config:_value
9311
+ ----------------------------------------------
9312
+ ------------------------------------------
9313
+ MigrationGeneratorTest: test_delete_config
9314
+ ------------------------------------------
9315
+ ---------------------------------------
9316
+ MigrationGeneratorTest: test_add_column
9317
+ ---------------------------------------
9318
+ -----------------------------------------------
9319
+ MigrationGeneratorTest: test_create_table:__key
9320
+ -----------------------------------------------
9321
+ ------------------------------------------
9322
+ MigrationGeneratorTest: test_remove_column
9323
+ ------------------------------------------
9324
+ -----------------------------------------
9325
+ MigrationGeneratorTest: test_create_table
9326
+ -----------------------------------------
9327
+ ----------------------------------------
9328
+ PostsControllerTest: test_should_get_new
9329
+ ----------------------------------------
9330
+ object_exist (1.5ms) object_exist --name "schema_versions"
9331
+ table_create (1.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9332
+ table_create (1.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9333
+ column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9334
+ column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9335
+ load (1.1ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9336
+ table_create (1.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9337
+ schema (2.7ms) schema
9338
+ column_create (2.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9339
+ load (1.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9340
+ table_create (1.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9341
+ load (1.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9342
+ load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9343
+ Started GET "/posts/new" for 127.0.0.1 at 2017-03-07 12:48:46 +0900
9344
+ Processing by PostsController#new as HTML
9345
+ Rendering posts/new.html.erb within layouts/application
9346
+ Rendered posts/_form.html.erb (6.6ms)
9347
+ Rendered posts/new.html.erb within layouts/application (7.7ms)
9348
+ Completed 200 OK in 98ms (Views: 92.3ms | Groonga: 0.0ms)
9349
+ shutdown (1.0ms) shutdown
9350
+ --------------------------------------------
9351
+ PostsControllerTest: test_should_update_post
9352
+ --------------------------------------------
9353
+ object_exist (2.6ms) object_exist --name "schema_versions"
9354
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9355
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9356
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9357
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9358
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9359
+ table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9360
+ schema (4.5ms) schema
9361
+ column_create (3.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9362
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9363
+ table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9364
+ load (1.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9365
+ load (3.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9366
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-07 12:48:46 +0900
9367
+ Processing by PostsController#update as HTML
9368
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
9369
+ select (56.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9370
+ load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
9371
+ Redirected to http://www.example.com/posts/1
9372
+ Completed 302 Found in 60ms (Groonga: 57.3ms)
9373
+ shutdown (0.8ms) shutdown
9374
+ -----------------------------------------
9375
+ PostsControllerTest: test_should_get_edit
9376
+ -----------------------------------------
9377
+ object_exist (2.4ms) object_exist --name "schema_versions"
9378
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9379
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9380
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9381
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9382
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9383
+ table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9384
+ schema (4.2ms) schema
9385
+ column_create (2.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9386
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9387
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9388
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9389
+ load (3.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9390
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2017-03-07 12:48:46 +0900
9391
+ Processing by PostsController#edit as HTML
9392
+ Parameters: {"id"=>"1"}
9393
+ select (56.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9394
+ Rendering posts/edit.html.erb within layouts/application
9395
+ Rendered posts/_form.html.erb (1.3ms)
9396
+ Rendered posts/edit.html.erb within layouts/application (2.0ms)
9397
+ Completed 200 OK in 62ms (Views: 3.6ms | Groonga: 56.6ms)
9398
+ shutdown (0.8ms) shutdown
9399
+ --------------------------------------------
9400
+ PostsControllerTest: test_should_create_post
9401
+ --------------------------------------------
9402
+ object_exist (2.5ms) object_exist --name "schema_versions"
9403
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9404
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9405
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9406
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9407
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9408
+ table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9409
+ schema (4.6ms) schema
9410
+ column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9411
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9412
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9413
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9414
+ load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9415
+ select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9416
+ Started POST "/posts" for 127.0.0.1 at 2017-03-07 12:48:47 +0900
9417
+ Processing by PostsController#create as HTML
9418
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
9419
+ load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9420
+ Redirected to http://www.example.com/posts/2
9421
+ Completed 302 Found in 6ms (Groonga: 2.6ms)
9422
+ select (2.2ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9423
+ select (2.5ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts"
9424
+ shutdown (1.9ms) shutdown
9425
+ ---------------------------------------------
9426
+ PostsControllerTest: test_should_destroy_post
9427
+ ---------------------------------------------
9428
+ object_exist (2.6ms) object_exist --name "schema_versions"
9429
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9430
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9431
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9432
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9433
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9434
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9435
+ schema (4.5ms) schema
9436
+ column_create (2.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9437
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9438
+ table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9439
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9440
+ load (3.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9441
+ select (2.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9442
+ Started DELETE "/posts/1" for 127.0.0.1 at 2017-03-07 12:48:47 +0900
9443
+ Processing by PostsController#destroy as HTML
9444
+ Parameters: {"id"=>"1"}
9445
+ select (54.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9446
+ delete (1.0ms) delete --filter "_id == 1" --table "posts"
9447
+ Redirected to http://www.example.com/posts
9448
+ Completed 302 Found in 57ms (Groonga: 55.5ms)
9449
+ select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9450
+ shutdown (0.7ms) shutdown
9451
+ ------------------------------------------
9452
+ PostsControllerTest: test_should_get_index
9453
+ ------------------------------------------
9454
+ object_exist (2.3ms) object_exist --name "schema_versions"
9455
+ table_create (2.1ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9456
+ table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9457
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9458
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9459
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9460
+ table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9461
+ schema (4.3ms) schema
9462
+ column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9463
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9464
+ table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9465
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9466
+ load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9467
+ Started GET "/posts" for 127.0.0.1 at 2017-03-07 12:48:47 +0900
9468
+ Processing by PostsController#index as HTML
9469
+ Rendering posts/index.html.erb within layouts/application
9470
+ select (2.6ms) select --limit "-1" --match_columns "body" --table "posts"
9471
+ Rendered posts/index.html.erb within layouts/application (5.4ms)
9472
+ Completed 200 OK in 13ms (Views: 7.9ms | Groonga: 2.6ms)
9473
+ shutdown (1.8ms) shutdown
9474
+ ------------------------------------------
9475
+ PostsControllerTest: test_should_show_post
9476
+ ------------------------------------------
9477
+ object_exist (1.2ms) object_exist --name "schema_versions"
9478
+ table_create (0.9ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9479
+ table_create (0.7ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9480
+ column_create (0.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9481
+ column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9482
+ load (0.8ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9483
+ table_create (0.8ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9484
+ schema (1.8ms) schema
9485
+ column_create (1.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9486
+ load (1.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9487
+ table_create (0.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9488
+ load (1.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9489
+ load (1.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9490
+ Started GET "/posts/1" for 127.0.0.1 at 2017-03-07 12:48:47 +0900
9491
+ Processing by PostsController#show as HTML
9492
+ Parameters: {"id"=>"1"}
9493
+ select (51.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9494
+ Rendering posts/show.html.erb within layouts/application
9495
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
9496
+ Completed 200 OK in 55ms (Views: 2.0ms | Groonga: 51.3ms)
9497
+ shutdown (0.9ms) shutdown
9498
+ ----------------------------
9499
+ PostTest: test_.create(Hash)
9500
+ ----------------------------
9501
+ object_exist (1.4ms) object_exist --name "schema_versions"
9502
+ table_create (1.1ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9503
+ table_create (1.0ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9504
+ column_create (0.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9505
+ column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9506
+ load (1.2ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9507
+ table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9508
+ schema (2.4ms) schema
9509
+ column_create (1.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9510
+ load (1.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9511
+ table_create (1.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9512
+ load (1.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9513
+ schema (2.5ms) schema
9514
+ load (1.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"
9515
+ select (39.1ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
9516
+ shutdown (0.7ms) shutdown
9517
+ ------------------------------
9518
+ PostTest: test_.create([Hash])
9519
+ ------------------------------
9520
+ object_exist (2.5ms) object_exist --name "schema_versions"
9521
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9522
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9523
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9524
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9525
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9526
+ table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9527
+ schema (4.3ms) schema
9528
+ column_create (3.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9529
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9530
+ table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9531
+ load (1.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9532
+ load (1.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"
9533
+ load (1.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"
9534
+ select (51.5ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
9535
+ select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"
9536
+ shutdown (0.7ms) shutdown
9537
+ ------------------------------------------
9538
+ PostsControllerTest: test_should_show_post
9539
+ ------------------------------------------
9540
+ object_exist (2.7ms) object_exist --name "schema_versions"
9541
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9542
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9543
+ column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9544
+ column_create (2.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9545
+ load (2.9ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9546
+ table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9547
+ schema (5.4ms) schema
9548
+ column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9549
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9550
+ table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9551
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9552
+ load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9553
+ Started GET "/posts/1" for 127.0.0.1 at 2017-03-07 12:52:02 +0900
9554
+ Processing by PostsController#show as HTML
9555
+ Parameters: {"id"=>"1"}
9556
+ select (27.8ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9557
+ Rendering posts/show.html.erb within layouts/application
9558
+ Rendered posts/show.html.erb within layouts/application (2.4ms)
9559
+ Completed 200 OK in 124ms (Views: 90.2ms | Groonga: 27.8ms)
9560
+ shutdown (0.8ms) shutdown
9561
+ ----------------------------------------
9562
+ PostsControllerTest: test_should_get_new
9563
+ ----------------------------------------
9564
+ object_exist (2.5ms) object_exist --name "schema_versions"
9565
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9566
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9567
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9568
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9569
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9570
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9571
+ schema (4.6ms) schema
9572
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9573
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9574
+ table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9575
+ load (1.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9576
+ load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9577
+ Started GET "/posts/new" for 127.0.0.1 at 2017-03-07 12:52:03 +0900
9578
+ Processing by PostsController#new as HTML
9579
+ Rendering posts/new.html.erb within layouts/application
9580
+ Rendered posts/_form.html.erb (23.9ms)
9581
+ Rendered posts/new.html.erb within layouts/application (25.9ms)
9582
+ Completed 200 OK in 31ms (Views: 29.7ms | Groonga: 0.0ms)
9583
+ shutdown (1.3ms) shutdown
9584
+ --------------------------------------------
9585
+ PostsControllerTest: test_should_update_post
9586
+ --------------------------------------------
9587
+ object_exist (2.3ms) object_exist --name "schema_versions"
9588
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9589
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9590
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9591
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9592
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9593
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9594
+ schema (6.0ms) schema
9595
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9596
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9597
+ table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9598
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9599
+ load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9600
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-07 12:52:03 +0900
9601
+ Processing by PostsController#update as HTML
9602
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
9603
+ select (58.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9604
+ load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
9605
+ Redirected to http://www.example.com/posts/1
9606
+ Completed 302 Found in 62ms (Groonga: 58.8ms)
9607
+ shutdown (0.6ms) shutdown
9608
+ --------------------------------------------
9609
+ PostsControllerTest: test_should_create_post
9610
+ --------------------------------------------
9611
+ object_exist (2.3ms) object_exist --name "schema_versions"
9612
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9613
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9614
+ column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9615
+ column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9616
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9617
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9618
+ schema (4.6ms) schema
9619
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9620
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9621
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9622
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9623
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9624
+ select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9625
+ Started POST "/posts" for 127.0.0.1 at 2017-03-07 12:52:03 +0900
9626
+ Processing by PostsController#create as HTML
9627
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
9628
+ load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9629
+ Redirected to http://www.example.com/posts/2
9630
+ Completed 302 Found in 6ms (Groonga: 2.8ms)
9631
+ select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9632
+ select (2.6ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts"
9633
+ shutdown (1.9ms) shutdown
9634
+ -----------------------------------------
9635
+ PostsControllerTest: test_should_get_edit
9636
+ -----------------------------------------
9637
+ object_exist (2.5ms) object_exist --name "schema_versions"
9638
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9639
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9640
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9641
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9642
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9643
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9644
+ schema (4.9ms) schema
9645
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9646
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9647
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9648
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9649
+ load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9650
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2017-03-07 12:52:03 +0900
9651
+ Processing by PostsController#edit as HTML
9652
+ Parameters: {"id"=>"1"}
9653
+ select (55.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9654
+ Rendering posts/edit.html.erb within layouts/application
9655
+ Rendered posts/_form.html.erb (1.3ms)
9656
+ Rendered posts/edit.html.erb within layouts/application (1.9ms)
9657
+ Completed 200 OK in 61ms (Views: 3.5ms | Groonga: 55.3ms)
9658
+ shutdown (0.8ms) shutdown
9659
+ ---------------------------------------------
9660
+ PostsControllerTest: test_should_destroy_post
9661
+ ---------------------------------------------
9662
+ object_exist (2.4ms) object_exist --name "schema_versions"
9663
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9664
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9665
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9666
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9667
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9668
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9669
+ schema (4.6ms) schema
9670
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9671
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9672
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9673
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9674
+ load (4.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9675
+ select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9676
+ Started DELETE "/posts/1" for 127.0.0.1 at 2017-03-07 12:52:03 +0900
9677
+ Processing by PostsController#destroy as HTML
9678
+ Parameters: {"id"=>"1"}
9679
+ select (53.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9680
+ delete (1.6ms) delete --filter "_id == 1" --table "posts"
9681
+ Redirected to http://www.example.com/posts
9682
+ Completed 302 Found in 57ms (Groonga: 54.6ms)
9683
+ select (1.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9684
+ shutdown (0.7ms) shutdown
9685
+ ------------------------------------------
9686
+ PostsControllerTest: test_should_get_index
9687
+ ------------------------------------------
9688
+ object_exist (2.3ms) object_exist --name "schema_versions"
9689
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9690
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9691
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9692
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9693
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9694
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9695
+ schema (4.8ms) schema
9696
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9697
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9698
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9699
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9700
+ load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9701
+ Started GET "/posts" for 127.0.0.1 at 2017-03-07 12:52:04 +0900
9702
+ Processing by PostsController#index as HTML
9703
+ Rendering posts/index.html.erb within layouts/application
9704
+ select (2.8ms) select --limit "-1" --match_columns "body" --table "posts"
9705
+ Rendered posts/index.html.erb within layouts/application (6.2ms)
9706
+ Completed 200 OK in 15ms (Views: 9.4ms | Groonga: 2.8ms)
9707
+ shutdown (2.1ms) shutdown
9708
+ ---------------------------------------------
9709
+ AgeTest: test_validate:__key:_invalid:_string
9710
+ ---------------------------------------------
9711
+ object_exist (2.3ms) object_exist --name "schema_versions"
9712
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9713
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9714
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9715
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9716
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9717
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9718
+ schema (4.6ms) schema
9719
+ column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9720
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9721
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9722
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9723
+ shutdown (2.1ms) shutdown
9724
+ ---------------------------------------
9725
+ MigrationGeneratorTest: test_set_config
9726
+ ---------------------------------------
9727
+ ------------------------------------------
9728
+ MigrationGeneratorTest: test_delete_config
9729
+ ------------------------------------------
9730
+ -----------------------------------------------
9731
+ MigrationGeneratorTest: test_create_table:__key
9732
+ -----------------------------------------------
9733
+ ----------------------------------------------
9734
+ MigrationGeneratorTest: test_set_config:_value
9735
+ ----------------------------------------------
9736
+ ---------------------------------------
9737
+ MigrationGeneratorTest: test_add_column
9738
+ ---------------------------------------
9739
+ -----------------------------------------
9740
+ MigrationGeneratorTest: test_create_table
9741
+ -----------------------------------------
9742
+ ------------------------------------------
9743
+ MigrationGeneratorTest: test_remove_column
9744
+ ------------------------------------------
9745
+ ---------------------------------------------
9746
+ AgeTest: test_validate:__key:_invalid:_string
9747
+ ---------------------------------------------
9748
+ object_exist (1.4ms) object_exist --name "schema_versions"
9749
+ table_create (1.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9750
+ table_create (1.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9751
+ column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9752
+ column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9753
+ load (1.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9754
+ table_create (1.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9755
+ schema (3.4ms) schema
9756
+ column_create (2.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9757
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9758
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9759
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9760
+ schema (4.8ms) schema
9761
+ shutdown (1.7ms) shutdown
9762
+ ----------------------------
9763
+ PostTest: test_.create(Hash)
9764
+ ----------------------------
9765
+ object_exist (2.4ms) object_exist --name "schema_versions"
9766
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9767
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9768
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9769
+ column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9770
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9771
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9772
+ schema (4.6ms) schema
9773
+ column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9774
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9775
+ table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9776
+ load (1.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9777
+ load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"
9778
+ select (55.8ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
9779
+ shutdown (1.0ms) shutdown
9780
+ ------------------------------
9781
+ PostTest: test_.create([Hash])
9782
+ ------------------------------
9783
+ object_exist (2.4ms) object_exist --name "schema_versions"
9784
+ table_create (2.6ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9785
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9786
+ column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9787
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9788
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9789
+ table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9790
+ schema (5.0ms) schema
9791
+ column_create (3.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9792
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9793
+ table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9794
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9795
+ load (2.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"
9796
+ load (2.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"
9797
+ select (57.1ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
9798
+ select (1.0ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"
9799
+ shutdown (0.8ms) shutdown
9800
+ -----------------------------------------------
9801
+ MigrationGeneratorTest: test_create_table:__key
9802
+ -----------------------------------------------
9803
+ ----------------------------------------------
9804
+ MigrationGeneratorTest: test_set_config:_value
9805
+ ----------------------------------------------
9806
+ ---------------------------------------
9807
+ MigrationGeneratorTest: test_add_column
9808
+ ---------------------------------------
9809
+ ------------------------------------------
9810
+ MigrationGeneratorTest: test_remove_column
9811
+ ------------------------------------------
9812
+ ---------------------------------------
9813
+ MigrationGeneratorTest: test_set_config
9814
+ ---------------------------------------
9815
+ -----------------------------------------
9816
+ MigrationGeneratorTest: test_create_table
9817
+ -----------------------------------------
9818
+ ------------------------------------------
9819
+ MigrationGeneratorTest: test_delete_config
9820
+ ------------------------------------------
9821
+ ----------------------------------------
9822
+ PostsControllerTest: test_should_get_new
9823
+ ----------------------------------------
9824
+ object_exist (1.2ms) object_exist --name "schema_versions"
9825
+ table_create (1.0ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9826
+ table_create (0.8ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9827
+ column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9828
+ column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9829
+ load (1.0ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9830
+ table_create (0.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9831
+ schema (2.1ms) schema
9832
+ column_create (1.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9833
+ load (1.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9834
+ table_create (1.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9835
+ load (1.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9836
+ load (2.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9837
+ Started GET "/posts/new" for 127.0.0.1 at 2017-03-07 12:53:33 +0900
9838
+ Processing by PostsController#new as HTML
9839
+ Rendering posts/new.html.erb within layouts/application
9840
+ Rendered posts/_form.html.erb (6.6ms)
9841
+ Rendered posts/new.html.erb within layouts/application (7.6ms)
9842
+ Completed 200 OK in 98ms (Views: 92.0ms | Groonga: 0.0ms)
9843
+ shutdown (0.9ms) shutdown
9844
+ --------------------------------------------
9845
+ PostsControllerTest: test_should_create_post
9846
+ --------------------------------------------
9847
+ object_exist (2.2ms) object_exist --name "schema_versions"
9848
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9849
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9850
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9851
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9852
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9853
+ table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9854
+ schema (4.2ms) schema
9855
+ column_create (2.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9856
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9857
+ table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9858
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9859
+ load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9860
+ select (2.2ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9861
+ Started POST "/posts" for 127.0.0.1 at 2017-03-07 12:53:33 +0900
9862
+ Processing by PostsController#create as HTML
9863
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
9864
+ load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9865
+ Redirected to http://www.example.com/posts/2
9866
+ Completed 302 Found in 6ms (Groonga: 2.7ms)
9867
+ select (2.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9868
+ select (2.5ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts"
9869
+ shutdown (1.8ms) shutdown
9870
+ ------------------------------------------
9871
+ PostsControllerTest: test_should_get_index
9872
+ ------------------------------------------
9873
+ object_exist (2.5ms) object_exist --name "schema_versions"
9874
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9875
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9876
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9877
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9878
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9879
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9880
+ schema (4.9ms) schema
9881
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9882
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9883
+ table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9884
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9885
+ load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9886
+ Started GET "/posts" for 127.0.0.1 at 2017-03-07 12:53:33 +0900
9887
+ Processing by PostsController#index as HTML
9888
+ Rendering posts/index.html.erb within layouts/application
9889
+ select (2.4ms) select --limit "-1" --match_columns "body" --table "posts"
9890
+ Rendered posts/index.html.erb within layouts/application (5.3ms)
9891
+ Completed 200 OK in 12ms (Views: 8.0ms | Groonga: 2.4ms)
9892
+ shutdown (1.8ms) shutdown
9893
+ ------------------------------------------
9894
+ PostsControllerTest: test_should_show_post
9895
+ ------------------------------------------
9896
+ object_exist (2.3ms) object_exist --name "schema_versions"
9897
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9898
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9899
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9900
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9901
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9902
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9903
+ schema (4.6ms) schema
9904
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9905
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9906
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9907
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9908
+ load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9909
+ Started GET "/posts/1" for 127.0.0.1 at 2017-03-07 12:53:33 +0900
9910
+ Processing by PostsController#show as HTML
9911
+ Parameters: {"id"=>"1"}
9912
+ select (52.8ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9913
+ Rendering posts/show.html.erb within layouts/application
9914
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
9915
+ Completed 200 OK in 57ms (Views: 2.0ms | Groonga: 52.8ms)
9916
+ shutdown (0.9ms) shutdown
9917
+ ---------------------------------------------
9918
+ PostsControllerTest: test_should_destroy_post
9919
+ ---------------------------------------------
9920
+ object_exist (1.4ms) object_exist --name "schema_versions"
9921
+ table_create (1.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9922
+ table_create (1.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9923
+ column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9924
+ column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9925
+ load (1.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9926
+ table_create (1.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9927
+ schema (3.5ms) schema
9928
+ column_create (2.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9929
+ load (1.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9930
+ table_create (1.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9931
+ load (1.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9932
+ load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9933
+ select (1.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9934
+ Started DELETE "/posts/1" for 127.0.0.1 at 2017-03-07 12:53:33 +0900
9935
+ Processing by PostsController#destroy as HTML
9936
+ Parameters: {"id"=>"1"}
9937
+ select (53.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9938
+ delete (0.8ms) delete --filter "_id == 1" --table "posts"
9939
+ Redirected to http://www.example.com/posts
9940
+ Completed 302 Found in 56ms (Groonga: 54.5ms)
9941
+ select (0.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
9942
+ shutdown (0.6ms) shutdown
9943
+ -----------------------------------------
9944
+ PostsControllerTest: test_should_get_edit
9945
+ -----------------------------------------
9946
+ object_exist (2.5ms) object_exist --name "schema_versions"
9947
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9948
+ table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9949
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9950
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9951
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9952
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9953
+ schema (5.2ms) schema
9954
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9955
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9956
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9957
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9958
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9959
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2017-03-07 12:53:34 +0900
9960
+ Processing by PostsController#edit as HTML
9961
+ Parameters: {"id"=>"1"}
9962
+ select (57.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9963
+ Rendering posts/edit.html.erb within layouts/application
9964
+ Rendered posts/_form.html.erb (1.4ms)
9965
+ Rendered posts/edit.html.erb within layouts/application (2.1ms)
9966
+ Completed 200 OK in 63ms (Views: 3.7ms | Groonga: 57.1ms)
9967
+ shutdown (0.9ms) shutdown
9968
+ --------------------------------------------
9969
+ PostsControllerTest: test_should_update_post
9970
+ --------------------------------------------
9971
+ object_exist (2.5ms) object_exist --name "schema_versions"
9972
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
9973
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
9974
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
9975
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
9976
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
9977
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
9978
+ schema (5.5ms) schema
9979
+ column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
9980
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
9981
+ table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
9982
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
9983
+ load (3.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
9984
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-07 12:53:34 +0900
9985
+ Processing by PostsController#update as HTML
9986
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
9987
+ select (50.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
9988
+ load (0.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
9989
+ Redirected to http://www.example.com/posts/1
9990
+ Completed 302 Found in 54ms (Groonga: 51.5ms)
9991
+ shutdown (0.6ms) shutdown
9992
+ -----------------------------------------------
9993
+ MigrationGeneratorTest: test_create_table:__key
9994
+ -----------------------------------------------
9995
+ ----------------------------------------------
9996
+ MigrationGeneratorTest: test_set_config:_value
9997
+ ----------------------------------------------
9998
+ -----------------------------------------
9999
+ MigrationGeneratorTest: test_create_table
10000
+ -----------------------------------------
10001
+ ------------------------------------------
10002
+ MigrationGeneratorTest: test_remove_column
10003
+ ------------------------------------------
10004
+ ---------------------------------------
10005
+ MigrationGeneratorTest: test_set_config
10006
+ ---------------------------------------
10007
+ ---------------------------------------
10008
+ MigrationGeneratorTest: test_add_column
10009
+ ---------------------------------------
10010
+ ------------------------------------------
10011
+ MigrationGeneratorTest: test_delete_config
10012
+ ------------------------------------------
10013
+ ---------------------------------------------
10014
+ AgeTest: test_validate:__key:_invalid:_string
10015
+ ---------------------------------------------
10016
+ object_exist (1.7ms) object_exist --name "schema_versions"
10017
+ table_create (1.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10018
+ table_create (1.4ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10019
+ column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10020
+ column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10021
+ load (1.6ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10022
+ table_create (1.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10023
+ schema (3.6ms) schema
10024
+ column_create (2.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10025
+ load (1.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10026
+ table_create (1.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10027
+ load (1.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10028
+ schema (4.4ms) schema
10029
+ shutdown (2.2ms) shutdown
10030
+ ------------------------------------------
10031
+ PostsControllerTest: test_should_get_index
10032
+ ------------------------------------------
10033
+ object_exist (2.2ms) object_exist --name "schema_versions"
10034
+ table_create (1.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10035
+ table_create (1.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10036
+ column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10037
+ column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10038
+ load (1.1ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10039
+ table_create (1.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10040
+ schema (2.1ms) schema
10041
+ column_create (1.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10042
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10043
+ table_create (1.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10044
+ load (1.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10045
+ load (2.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10046
+ Started GET "/posts" for 127.0.0.1 at 2017-03-07 12:53:58 +0900
10047
+ Processing by PostsController#index as HTML
10048
+ Rendering posts/index.html.erb within layouts/application
10049
+ select (1.2ms) select --limit "-1" --match_columns "body" --table "posts"
10050
+ Rendered posts/index.html.erb within layouts/application (4.8ms)
10051
+ Completed 200 OK in 109ms (Views: 101.3ms | Groonga: 1.2ms)
10052
+ shutdown (1.0ms) shutdown
10053
+ --------------------------------------------
10054
+ PostsControllerTest: test_should_update_post
10055
+ --------------------------------------------
10056
+ object_exist (2.5ms) object_exist --name "schema_versions"
10057
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10058
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10059
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10060
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10061
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10062
+ table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10063
+ schema (4.2ms) schema
10064
+ column_create (3.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10065
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10066
+ table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10067
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10068
+ load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10069
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-07 12:53:59 +0900
10070
+ Processing by PostsController#update as HTML
10071
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
10072
+ select (57.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10073
+ load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
10074
+ Redirected to http://www.example.com/posts/1
10075
+ Completed 302 Found in 61ms (Groonga: 58.5ms)
10076
+ shutdown (0.7ms) shutdown
10077
+ ---------------------------------------------
10078
+ PostsControllerTest: test_should_destroy_post
10079
+ ---------------------------------------------
10080
+ object_exist (1.1ms) object_exist --name "schema_versions"
10081
+ table_create (1.0ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10082
+ table_create (0.9ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10083
+ column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10084
+ column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10085
+ load (0.9ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10086
+ table_create (0.8ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10087
+ schema (1.7ms) schema
10088
+ column_create (1.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10089
+ load (0.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10090
+ table_create (0.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10091
+ load (0.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10092
+ load (1.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10093
+ select (0.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10094
+ Started DELETE "/posts/1" for 127.0.0.1 at 2017-03-07 12:53:59 +0900
10095
+ Processing by PostsController#destroy as HTML
10096
+ Parameters: {"id"=>"1"}
10097
+ select (33.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10098
+ delete (1.0ms) delete --filter "_id == 1" --table "posts"
10099
+ Redirected to http://www.example.com/posts
10100
+ Completed 302 Found in 36ms (Groonga: 34.6ms)
10101
+ select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10102
+ shutdown (0.8ms) shutdown
10103
+ ------------------------------------------
10104
+ PostsControllerTest: test_should_show_post
10105
+ ------------------------------------------
10106
+ object_exist (2.5ms) object_exist --name "schema_versions"
10107
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10108
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10109
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10110
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10111
+ load (2.9ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10112
+ table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10113
+ schema (4.7ms) schema
10114
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10115
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10116
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10117
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10118
+ load (3.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10119
+ Started GET "/posts/1" for 127.0.0.1 at 2017-03-07 12:53:59 +0900
10120
+ Processing by PostsController#show as HTML
10121
+ Parameters: {"id"=>"1"}
10122
+ select (59.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10123
+ Rendering posts/show.html.erb within layouts/application
10124
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
10125
+ Completed 200 OK in 63ms (Views: 2.1ms | Groonga: 59.2ms)
10126
+ shutdown (0.9ms) shutdown
10127
+ -----------------------------------------
10128
+ PostsControllerTest: test_should_get_edit
10129
+ -----------------------------------------
10130
+ object_exist (2.4ms) object_exist --name "schema_versions"
10131
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10132
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10133
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10134
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10135
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10136
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10137
+ schema (4.7ms) schema
10138
+ column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10139
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10140
+ table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10141
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10142
+ load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10143
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2017-03-07 12:53:59 +0900
10144
+ Processing by PostsController#edit as HTML
10145
+ Parameters: {"id"=>"1"}
10146
+ select (56.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10147
+ Rendering posts/edit.html.erb within layouts/application
10148
+ Rendered posts/_form.html.erb (5.5ms)
10149
+ Rendered posts/edit.html.erb within layouts/application (6.2ms)
10150
+ Completed 200 OK in 66ms (Views: 7.8ms | Groonga: 56.5ms)
10151
+ shutdown (1.0ms) shutdown
10152
+ ----------------------------------------
10153
+ PostsControllerTest: test_should_get_new
10154
+ ----------------------------------------
10155
+ object_exist (2.4ms) object_exist --name "schema_versions"
10156
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10157
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10158
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10159
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10160
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10161
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10162
+ schema (4.6ms) schema
10163
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10164
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10165
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10166
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10167
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10168
+ Started GET "/posts/new" for 127.0.0.1 at 2017-03-07 12:53:59 +0900
10169
+ Processing by PostsController#new as HTML
10170
+ Rendering posts/new.html.erb within layouts/application
10171
+ Rendered posts/_form.html.erb (4.1ms)
10172
+ Rendered posts/new.html.erb within layouts/application (6.1ms)
10173
+ Completed 200 OK in 13ms (Views: 11.2ms | Groonga: 0.0ms)
10174
+ shutdown (2.1ms) shutdown
10175
+ --------------------------------------------
10176
+ PostsControllerTest: test_should_create_post
10177
+ --------------------------------------------
10178
+ object_exist (2.5ms) object_exist --name "schema_versions"
10179
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10180
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10181
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10182
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10183
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10184
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10185
+ schema (4.7ms) schema
10186
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10187
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10188
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10189
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10190
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10191
+ select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10192
+ Started POST "/posts" for 127.0.0.1 at 2017-03-07 12:54:00 +0900
10193
+ Processing by PostsController#create as HTML
10194
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
10195
+ load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10196
+ Redirected to http://www.example.com/posts/2
10197
+ Completed 302 Found in 6ms (Groonga: 2.8ms)
10198
+ select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10199
+ select (2.8ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts"
10200
+ shutdown (2.0ms) shutdown
10201
+ ----------------------------
10202
+ PostTest: test_.create(Hash)
10203
+ ----------------------------
10204
+ object_exist (2.5ms) object_exist --name "schema_versions"
10205
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10206
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10207
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10208
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10209
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10210
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10211
+ schema (4.9ms) schema
10212
+ column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10213
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10214
+ table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10215
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10216
+ load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"
10217
+ select (53.8ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
10218
+ shutdown (0.8ms) shutdown
10219
+ ------------------------------
10220
+ PostTest: test_.create([Hash])
10221
+ ------------------------------
10222
+ object_exist (2.4ms) object_exist --name "schema_versions"
10223
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10224
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10225
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10226
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10227
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10228
+ table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10229
+ schema (4.5ms) schema
10230
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10231
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10232
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10233
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10234
+ load (2.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"
10235
+ load (2.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"
10236
+ select (56.4ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
10237
+ select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"
10238
+ shutdown (0.8ms) shutdown
10239
+ ------------------------------------------
10240
+ MigrationGeneratorTest: test_delete_config
10241
+ ------------------------------------------
10242
+ ------------------------------------------
10243
+ MigrationGeneratorTest: test_remove_column
10244
+ ------------------------------------------
10245
+ ---------------------------------------
10246
+ MigrationGeneratorTest: test_add_column
10247
+ ---------------------------------------
10248
+ ---------------------------------------
10249
+ MigrationGeneratorTest: test_set_config
10250
+ ---------------------------------------
10251
+ -----------------------------------------
10252
+ MigrationGeneratorTest: test_create_table
10253
+ -----------------------------------------
10254
+ ----------------------------------------------
10255
+ MigrationGeneratorTest: test_set_config:_value
10256
+ ----------------------------------------------
10257
+ -----------------------------------------------
10258
+ MigrationGeneratorTest: test_create_table:__key
10259
+ -----------------------------------------------
10260
+ ---------------------------------------------
10261
+ AgeTest: test_validate:__key:_invalid:_string
10262
+ ---------------------------------------------
10263
+ object_exist (1.8ms) object_exist --name "schema_versions"
10264
+ table_create (1.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10265
+ table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10266
+ column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10267
+ column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10268
+ load (1.9ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10269
+ table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10270
+ schema (3.8ms) schema
10271
+ column_create (2.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10272
+ load (1.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10273
+ table_create (1.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10274
+ load (1.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10275
+ schema (4.1ms) schema
10276
+ shutdown (1.9ms) shutdown
10277
+ --------------------------------------------
10278
+ PostsControllerTest: test_should_create_post
10279
+ --------------------------------------------
10280
+ object_exist (1.4ms) object_exist --name "schema_versions"
10281
+ table_create (1.1ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10282
+ table_create (1.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10283
+ column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10284
+ column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10285
+ load (1.2ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10286
+ table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10287
+ schema (2.7ms) schema
10288
+ column_create (2.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10289
+ load (1.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10290
+ table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10291
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10292
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10293
+ select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10294
+ Started POST "/posts" for 127.0.0.1 at 2017-03-07 13:58:31 +0900
10295
+ Processing by PostsController#create as HTML
10296
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
10297
+ load (1.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10298
+ Redirected to http://www.example.com/posts/2
10299
+ Completed 302 Found in 10ms (Groonga: 1.2ms)
10300
+ select (1.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10301
+ select (0.9ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts"
10302
+ shutdown (0.7ms) shutdown
10303
+ -----------------------------------------
10304
+ PostsControllerTest: test_should_get_edit
10305
+ -----------------------------------------
10306
+ object_exist (2.4ms) object_exist --name "schema_versions"
10307
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10308
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10309
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10310
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10311
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10312
+ table_create (2.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10313
+ schema (5.4ms) schema
10314
+ column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10315
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10316
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10317
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10318
+ load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10319
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2017-03-07 13:58:31 +0900
10320
+ Processing by PostsController#edit as HTML
10321
+ Parameters: {"id"=>"1"}
10322
+ select (54.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10323
+ Rendering posts/edit.html.erb within layouts/application
10324
+ Rendered posts/_form.html.erb (5.0ms)
10325
+ Rendered posts/edit.html.erb within layouts/application (6.2ms)
10326
+ Completed 200 OK in 152ms (Views: 94.1ms | Groonga: 54.9ms)
10327
+ shutdown (0.8ms) shutdown
10328
+ ---------------------------------------------
10329
+ PostsControllerTest: test_should_destroy_post
10330
+ ---------------------------------------------
10331
+ object_exist (2.0ms) object_exist --name "schema_versions"
10332
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10333
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10334
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10335
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10336
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10337
+ table_create (2.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10338
+ schema (5.6ms) schema
10339
+ column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10340
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10341
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10342
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10343
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10344
+ select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10345
+ Started DELETE "/posts/1" for 127.0.0.1 at 2017-03-07 13:58:31 +0900
10346
+ Processing by PostsController#destroy as HTML
10347
+ Parameters: {"id"=>"1"}
10348
+ select (58.8ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10349
+ delete (1.0ms) delete --filter "_id == 1" --table "posts"
10350
+ Redirected to http://www.example.com/posts
10351
+ Completed 302 Found in 62ms (Groonga: 59.8ms)
10352
+ select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10353
+ shutdown (0.7ms) shutdown
10354
+ ------------------------------------------
10355
+ PostsControllerTest: test_should_show_post
10356
+ ------------------------------------------
10357
+ object_exist (2.3ms) object_exist --name "schema_versions"
10358
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10359
+ table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10360
+ column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10361
+ column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10362
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10363
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10364
+ schema (5.7ms) schema
10365
+ column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10366
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10367
+ table_create (2.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10368
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10369
+ load (4.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10370
+ Started GET "/posts/1" for 127.0.0.1 at 2017-03-07 13:58:32 +0900
10371
+ Processing by PostsController#show as HTML
10372
+ Parameters: {"id"=>"1"}
10373
+ select (51.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10374
+ Rendering posts/show.html.erb within layouts/application
10375
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
10376
+ Completed 200 OK in 56ms (Views: 2.1ms | Groonga: 51.5ms)
10377
+ shutdown (0.9ms) shutdown
10378
+ ------------------------------------------
10379
+ PostsControllerTest: test_should_get_index
10380
+ ------------------------------------------
10381
+ object_exist (2.4ms) object_exist --name "schema_versions"
10382
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10383
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10384
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10385
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10386
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10387
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10388
+ schema (4.7ms) schema
10389
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10390
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10391
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10392
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10393
+ load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10394
+ Started GET "/posts" for 127.0.0.1 at 2017-03-07 13:58:32 +0900
10395
+ Processing by PostsController#index as HTML
10396
+ Rendering posts/index.html.erb within layouts/application
10397
+ select (3.2ms) select --limit "-1" --match_columns "body" --table "posts"
10398
+ Rendered posts/index.html.erb within layouts/application (7.6ms)
10399
+ Completed 200 OK in 16ms (Views: 10.6ms | Groonga: 3.2ms)
10400
+ shutdown (2.2ms) shutdown
10401
+ ----------------------------------------
10402
+ PostsControllerTest: test_should_get_new
10403
+ ----------------------------------------
10404
+ object_exist (2.5ms) object_exist --name "schema_versions"
10405
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10406
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10407
+ column_create (2.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10408
+ column_create (2.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10409
+ load (3.0ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10410
+ table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10411
+ schema (4.8ms) schema
10412
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10413
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10414
+ table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10415
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10416
+ load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10417
+ Started GET "/posts/new" for 127.0.0.1 at 2017-03-07 13:58:32 +0900
10418
+ Processing by PostsController#new as HTML
10419
+ Rendering posts/new.html.erb within layouts/application
10420
+ Rendered posts/_form.html.erb (5.0ms)
10421
+ Rendered posts/new.html.erb within layouts/application (7.3ms)
10422
+ Completed 200 OK in 15ms (Views: 13.0ms | Groonga: 0.0ms)
10423
+ shutdown (1.8ms) shutdown
10424
+ --------------------------------------------
10425
+ PostsControllerTest: test_should_update_post
10426
+ --------------------------------------------
10427
+ object_exist (1.9ms) object_exist --name "schema_versions"
10428
+ table_create (2.1ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10429
+ table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10430
+ column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10431
+ column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10432
+ load (1.0ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10433
+ table_create (1.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10434
+ schema (1.8ms) schema
10435
+ column_create (1.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10436
+ load (0.8ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10437
+ table_create (0.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10438
+ load (1.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10439
+ load (1.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10440
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-07 13:58:32 +0900
10441
+ Processing by PostsController#update as HTML
10442
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
10443
+ select (31.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10444
+ load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
10445
+ Redirected to http://www.example.com/posts/1
10446
+ Completed 302 Found in 34ms (Groonga: 32.3ms)
10447
+ shutdown (0.8ms) shutdown
10448
+ ------------------------------
10449
+ PostTest: test_.create([Hash])
10450
+ ------------------------------
10451
+ object_exist (0.9ms) object_exist --name "schema_versions"
10452
+ table_create (0.8ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10453
+ table_create (0.7ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10454
+ column_create (0.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10455
+ column_create (0.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10456
+ load (0.7ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10457
+ table_create (0.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10458
+ schema (1.4ms) schema
10459
+ column_create (1.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10460
+ load (0.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10461
+ table_create (0.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10462
+ load (0.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10463
+ load (0.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"
10464
+ load (0.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"
10465
+ select (28.4ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
10466
+ select (0.9ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"
10467
+ shutdown (0.5ms) shutdown
10468
+ ----------------------------
10469
+ PostTest: test_.create(Hash)
10470
+ ----------------------------
10471
+ object_exist (2.4ms) object_exist --name "schema_versions"
10472
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10473
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10474
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10475
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10476
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10477
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10478
+ schema (4.8ms) schema
10479
+ column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10480
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10481
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10482
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10483
+ load (2.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"
10484
+ select (60.8ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
10485
+ shutdown (0.8ms) shutdown
10486
+ ---------------------------------------------
10487
+ AgeTest: test_validate:__key:_invalid:_string
10488
+ ---------------------------------------------
10489
+ shutdown (3.1ms) shutdown
10490
+ ---------------------------------------------
10491
+ PostsControllerTest: test_should_destroy_post
10492
+ ---------------------------------------------
10493
+ shutdown (1.7ms) shutdown
10494
+ --------------------------------------------
10495
+ PostsControllerTest: test_should_create_post
10496
+ --------------------------------------------
10497
+ shutdown (2.3ms) shutdown
10498
+ ----------------------------------------
10499
+ PostsControllerTest: test_should_get_new
10500
+ ----------------------------------------
10501
+ shutdown (2.7ms) shutdown
10502
+ -----------------------------------------
10503
+ PostsControllerTest: test_should_get_edit
10504
+ -----------------------------------------
10505
+ shutdown (2.3ms) shutdown
10506
+ ------------------------------------------
10507
+ PostsControllerTest: test_should_get_index
10508
+ ------------------------------------------
10509
+ shutdown (3.5ms) shutdown
10510
+ ------------------------------------------
10511
+ PostsControllerTest: test_should_show_post
10512
+ ------------------------------------------
10513
+ shutdown (2.9ms) shutdown
10514
+ --------------------------------------------
10515
+ PostsControllerTest: test_should_update_post
10516
+ --------------------------------------------
10517
+ shutdown (2.6ms) shutdown
10518
+ ------------------------------------------
10519
+ MigrationGeneratorTest: test_remove_column
10520
+ ------------------------------------------
10521
+ ------------------------------------------
10522
+ MigrationGeneratorTest: test_delete_config
10523
+ ------------------------------------------
10524
+ ---------------------------------------
10525
+ MigrationGeneratorTest: test_add_column
10526
+ ---------------------------------------
10527
+ -----------------------------------------
10528
+ MigrationGeneratorTest: test_create_table
10529
+ -----------------------------------------
10530
+ -----------------------------------------------
10531
+ MigrationGeneratorTest: test_create_table:__key
10532
+ -----------------------------------------------
10533
+ ----------------------------------------------
10534
+ MigrationGeneratorTest: test_set_config:_value
10535
+ ----------------------------------------------
10536
+ ---------------------------------------
10537
+ MigrationGeneratorTest: test_set_config
10538
+ ---------------------------------------
10539
+ ----------------------------
10540
+ PostTest: test_.create(Hash)
10541
+ ----------------------------
10542
+ shutdown (1.5ms) shutdown
10543
+ ------------------------------
10544
+ PostTest: test_.create([Hash])
10545
+ ------------------------------
10546
+ shutdown (2.6ms) shutdown
10547
+ --------------------------------------------
10548
+ PostsControllerTest: test_should_update_post
10549
+ --------------------------------------------
10550
+ shutdown (1.8ms) shutdown
10551
+ --------------------------------------------
10552
+ PostsControllerTest: test_should_update_post
10553
+ --------------------------------------------
10554
+ shutdown (1.8ms) shutdown
10555
+ --------------------------------------------
10556
+ PostsControllerTest: test_should_update_post
10557
+ --------------------------------------------
10558
+ shutdown (1.8ms) shutdown
10559
+ --------------------------------------------
10560
+ PostsControllerTest: test_should_update_post
10561
+ --------------------------------------------
10562
+ object_exist (1.7ms) object_exist --name "schema_versions"
10563
+ table_create (1.1ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10564
+ table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10565
+ column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10566
+ column_create (0.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10567
+ load (0.9ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10568
+ table_create (1.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10569
+ schema (1.9ms) schema
10570
+ column_create (1.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10571
+ load (0.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10572
+ table_create (1.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10573
+ load (0.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10574
+ schema (2.0ms) schema
10575
+ load (1.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10576
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-07 15:48:25 +0900
10577
+ Processing by PostsController#update as HTML
10578
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
10579
+ select (36.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10580
+ load (1.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
10581
+ Redirected to http://www.example.com/posts/1
10582
+ Completed 302 Found in 52ms (Groonga: 37.1ms)
10583
+ shutdown (0.8ms) shutdown
10584
+ ---------------------------------------------
10585
+ AgeTest: test_validate:__key:_invalid:_string
10586
+ ---------------------------------------------
10587
+ object_exist (1.6ms) object_exist --name "schema_versions"
10588
+ table_create (1.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10589
+ table_create (1.4ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10590
+ column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10591
+ column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10592
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10593
+ table_create (1.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10594
+ schema (4.5ms) schema
10595
+ column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10596
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10597
+ table_create (2.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10598
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10599
+ schema (5.4ms) schema
10600
+ shutdown (1.9ms) shutdown
10601
+ ----------------------------
10602
+ PostTest: test_.create(Hash)
10603
+ ----------------------------
10604
+ object_exist (2.4ms) object_exist --name "schema_versions"
10605
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10606
+ table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10607
+ column_create (2.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10608
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10609
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10610
+ table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10611
+ schema (5.2ms) schema
10612
+ column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10613
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10614
+ table_create (2.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10615
+ load (2.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10616
+ load (3.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"
10617
+ select (58.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
10618
+ shutdown (0.8ms) shutdown
10619
+ ------------------------------
10620
+ PostTest: test_.create([Hash])
10621
+ ------------------------------
10622
+ object_exist (2.7ms) object_exist --name "schema_versions"
10623
+ table_create (2.7ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10624
+ table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10625
+ column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10626
+ column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10627
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10628
+ table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10629
+ schema (5.1ms) schema
10630
+ column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10631
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10632
+ table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10633
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10634
+ load (2.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"
10635
+ load (2.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"
10636
+ select (59.2ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
10637
+ select (1.9ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"
10638
+ shutdown (1.0ms) shutdown
10639
+ -----------------------------------------------
10640
+ MigrationGeneratorTest: test_create_table:__key
10641
+ -----------------------------------------------
10642
+ ------------------------------------------
10643
+ MigrationGeneratorTest: test_remove_column
10644
+ ------------------------------------------
10645
+ ---------------------------------------
10646
+ MigrationGeneratorTest: test_add_column
10647
+ ---------------------------------------
10648
+ ------------------------------------------
10649
+ MigrationGeneratorTest: test_delete_config
10650
+ ------------------------------------------
10651
+ ---------------------------------------
10652
+ MigrationGeneratorTest: test_set_config
10653
+ ---------------------------------------
10654
+ -----------------------------------------
10655
+ MigrationGeneratorTest: test_create_table
10656
+ -----------------------------------------
10657
+ ----------------------------------------------
10658
+ MigrationGeneratorTest: test_set_config:_value
10659
+ ----------------------------------------------
10660
+ ----------------------------------------
10661
+ PostsControllerTest: test_should_get_new
10662
+ ----------------------------------------
10663
+ object_exist (1.7ms) object_exist --name "schema_versions"
10664
+ table_create (1.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10665
+ table_create (0.9ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10666
+ column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10667
+ column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10668
+ load (1.0ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10669
+ table_create (1.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10670
+ schema (2.5ms) schema
10671
+ column_create (1.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10672
+ load (1.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10673
+ table_create (1.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10674
+ load (1.6ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10675
+ load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10676
+ Started GET "/posts/new" for 127.0.0.1 at 2017-03-07 17:14:32 +0900
10677
+ Processing by PostsController#new as HTML
10678
+ Rendering posts/new.html.erb within layouts/application
10679
+ Rendered posts/_form.html.erb (6.8ms)
10680
+ Rendered posts/new.html.erb within layouts/application (7.9ms)
10681
+ Completed 200 OK in 103ms (Views: 97.3ms | Groonga: 0.0ms)
10682
+ shutdown (1.0ms) shutdown
10683
+ --------------------------------------------
10684
+ PostsControllerTest: test_should_update_post
10685
+ --------------------------------------------
10686
+ object_exist (1.2ms) object_exist --name "schema_versions"
10687
+ table_create (1.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10688
+ table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10689
+ column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10690
+ column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10691
+ load (1.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10692
+ table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10693
+ schema (2.9ms) schema
10694
+ column_create (2.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10695
+ load (1.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10696
+ table_create (1.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10697
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10698
+ load (3.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10699
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-07 17:14:32 +0900
10700
+ Processing by PostsController#update as HTML
10701
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
10702
+ select (59.8ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10703
+ load (1.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
10704
+ Redirected to http://www.example.com/posts/1
10705
+ Completed 302 Found in 64ms (Groonga: 60.9ms)
10706
+ shutdown (0.5ms) shutdown
10707
+ ---------------------------------------------
10708
+ PostsControllerTest: test_should_destroy_post
10709
+ ---------------------------------------------
10710
+ object_exist (2.3ms) object_exist --name "schema_versions"
10711
+ table_create (2.2ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10712
+ table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10713
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10714
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10715
+ load (2.8ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10716
+ table_create (2.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10717
+ schema (5.3ms) schema
10718
+ column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10719
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10720
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10721
+ load (2.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10722
+ load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10723
+ select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10724
+ Started DELETE "/posts/1" for 127.0.0.1 at 2017-03-07 17:14:32 +0900
10725
+ Processing by PostsController#destroy as HTML
10726
+ Parameters: {"id"=>"1"}
10727
+ select (51.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10728
+ delete (1.1ms) delete --filter "_id == 1" --table "posts"
10729
+ Redirected to http://www.example.com/posts
10730
+ Completed 302 Found in 55ms (Groonga: 52.8ms)
10731
+ select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10732
+ shutdown (0.7ms) shutdown
10733
+ ------------------------------------------
10734
+ PostsControllerTest: test_should_get_index
10735
+ ------------------------------------------
10736
+ object_exist (2.8ms) object_exist --name "schema_versions"
10737
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10738
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10739
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10740
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10741
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10742
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10743
+ schema (5.1ms) schema
10744
+ column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10745
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10746
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10747
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10748
+ load (4.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10749
+ Started GET "/posts" for 127.0.0.1 at 2017-03-07 17:14:32 +0900
10750
+ Processing by PostsController#index as HTML
10751
+ Rendering posts/index.html.erb within layouts/application
10752
+ select (3.0ms) select --limit "-1" --match_columns "body" --table "posts"
10753
+ Rendered posts/index.html.erb within layouts/application (6.4ms)
10754
+ Completed 200 OK in 15ms (Views: 9.5ms | Groonga: 3.0ms)
10755
+ shutdown (1.9ms) shutdown
10756
+ --------------------------------------------
10757
+ PostsControllerTest: test_should_create_post
10758
+ --------------------------------------------
10759
+ object_exist (2.5ms) object_exist --name "schema_versions"
10760
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10761
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10762
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10763
+ column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10764
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10765
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10766
+ schema (4.8ms) schema
10767
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10768
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10769
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10770
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10771
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10772
+ select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10773
+ Started POST "/posts" for 127.0.0.1 at 2017-03-07 17:14:32 +0900
10774
+ Processing by PostsController#create as HTML
10775
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
10776
+ load (3.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10777
+ Redirected to http://www.example.com/posts/2
10778
+ Completed 302 Found in 7ms (Groonga: 3.2ms)
10779
+ select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10780
+ select (3.0ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts"
10781
+ shutdown (2.1ms) shutdown
10782
+ -----------------------------------------
10783
+ PostsControllerTest: test_should_get_edit
10784
+ -----------------------------------------
10785
+ object_exist (2.7ms) object_exist --name "schema_versions"
10786
+ table_create (2.7ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10787
+ table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10788
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10789
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10790
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10791
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10792
+ schema (4.8ms) schema
10793
+ column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10794
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10795
+ table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10796
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10797
+ load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10798
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2017-03-07 17:14:33 +0900
10799
+ Processing by PostsController#edit as HTML
10800
+ Parameters: {"id"=>"1"}
10801
+ select (48.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10802
+ Rendering posts/edit.html.erb within layouts/application
10803
+ Rendered posts/_form.html.erb (1.3ms)
10804
+ Rendered posts/edit.html.erb within layouts/application (2.0ms)
10805
+ Completed 200 OK in 54ms (Views: 3.6ms | Groonga: 48.1ms)
10806
+ shutdown (0.8ms) shutdown
10807
+ ------------------------------------------
10808
+ PostsControllerTest: test_should_show_post
10809
+ ------------------------------------------
10810
+ object_exist (2.5ms) object_exist --name "schema_versions"
10811
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10812
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10813
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10814
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10815
+ load (2.9ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10816
+ table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10817
+ schema (5.0ms) schema
10818
+ column_create (4.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10819
+ load (2.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10820
+ table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10821
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10822
+ load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10823
+ Started GET "/posts/1" for 127.0.0.1 at 2017-03-07 17:14:33 +0900
10824
+ Processing by PostsController#show as HTML
10825
+ Parameters: {"id"=>"1"}
10826
+ select (48.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10827
+ Rendering posts/show.html.erb within layouts/application
10828
+ Rendered posts/show.html.erb within layouts/application (0.4ms)
10829
+ Completed 200 OK in 52ms (Views: 1.9ms | Groonga: 48.6ms)
10830
+ shutdown (0.7ms) shutdown
10831
+ ---------------------------------------------
10832
+ AgeTest: test_validate:__key:_invalid:_string
10833
+ ---------------------------------------------
10834
+ object_exist (1.9ms) object_exist --name "schema_versions"
10835
+ table_create (1.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10836
+ table_create (1.6ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10837
+ column_create (1.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10838
+ column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10839
+ load (1.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10840
+ table_create (1.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10841
+ schema (3.6ms) schema
10842
+ column_create (2.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10843
+ load (1.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10844
+ table_create (1.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10845
+ load (1.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10846
+ schema (2.7ms) schema
10847
+ shutdown (1.4ms) shutdown
10848
+ ---------------------------------------
10849
+ MigrationGeneratorTest: test_add_column
10850
+ ---------------------------------------
10851
+ ------------------------------------------
10852
+ MigrationGeneratorTest: test_delete_config
10853
+ ------------------------------------------
10854
+ ----------------------------------------------
10855
+ MigrationGeneratorTest: test_set_config:_value
10856
+ ----------------------------------------------
10857
+ -----------------------------------------
10858
+ MigrationGeneratorTest: test_create_table
10859
+ -----------------------------------------
10860
+ ---------------------------------------
10861
+ MigrationGeneratorTest: test_set_config
10862
+ ---------------------------------------
10863
+ -----------------------------------------------
10864
+ MigrationGeneratorTest: test_create_table:__key
10865
+ -----------------------------------------------
10866
+ ------------------------------------------
10867
+ MigrationGeneratorTest: test_remove_column
10868
+ ------------------------------------------
10869
+ ----------------------------------------
10870
+ PostsControllerTest: test_should_get_new
10871
+ ----------------------------------------
10872
+ object_exist (2.0ms) object_exist --name "schema_versions"
10873
+ table_create (2.0ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10874
+ table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10875
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10876
+ column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10877
+ load (1.9ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10878
+ table_create (1.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10879
+ schema (4.3ms) schema
10880
+ column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10881
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10882
+ table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10883
+ load (2.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10884
+ load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10885
+ Started GET "/posts/new" for 127.0.0.1 at 2017-03-07 17:15:12 +0900
10886
+ Processing by PostsController#new as HTML
10887
+ Rendering posts/new.html.erb within layouts/application
10888
+ Rendered posts/_form.html.erb (7.0ms)
10889
+ Rendered posts/new.html.erb within layouts/application (8.1ms)
10890
+ Completed 200 OK in 134ms (Views: 128.2ms | Groonga: 0.0ms)
10891
+ shutdown (0.9ms) shutdown
10892
+ --------------------------------------------
10893
+ PostsControllerTest: test_should_update_post
10894
+ --------------------------------------------
10895
+ object_exist (2.5ms) object_exist --name "schema_versions"
10896
+ table_create (2.5ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10897
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10898
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10899
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10900
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10901
+ table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10902
+ schema (4.8ms) schema
10903
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10904
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10905
+ table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10906
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10907
+ load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10908
+ Started PATCH "/posts/1" for 127.0.0.1 at 2017-03-07 17:15:12 +0900
10909
+ Processing by PostsController#update as HTML
10910
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
10911
+ select (45.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10912
+ load (1.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"
10913
+ Redirected to http://www.example.com/posts/1
10914
+ Completed 302 Found in 50ms (Groonga: 46.4ms)
10915
+ shutdown (1.2ms) shutdown
10916
+ ------------------------------------------
10917
+ PostsControllerTest: test_should_get_index
10918
+ ------------------------------------------
10919
+ object_exist (2.9ms) object_exist --name "schema_versions"
10920
+ table_create (2.6ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10921
+ table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10922
+ column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10923
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10924
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10925
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10926
+ schema (5.0ms) schema
10927
+ column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10928
+ load (2.9ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10929
+ table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10930
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10931
+ load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10932
+ Started GET "/posts" for 127.0.0.1 at 2017-03-07 17:15:12 +0900
10933
+ Processing by PostsController#index as HTML
10934
+ Rendering posts/index.html.erb within layouts/application
10935
+ select (3.7ms) select --limit "-1" --match_columns "body" --table "posts"
10936
+ Rendered posts/index.html.erb within layouts/application (10.2ms)
10937
+ Completed 200 OK in 21ms (Views: 14.9ms | Groonga: 3.7ms)
10938
+ shutdown (2.1ms) shutdown
10939
+ ---------------------------------------------
10940
+ PostsControllerTest: test_should_destroy_post
10941
+ ---------------------------------------------
10942
+ object_exist (3.2ms) object_exist --name "schema_versions"
10943
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10944
+ table_create (2.9ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10945
+ column_create (2.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10946
+ column_create (3.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10947
+ load (3.0ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10948
+ table_create (3.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10949
+ schema (7.4ms) schema
10950
+ column_create (4.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10951
+ load (3.7ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10952
+ table_create (3.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10953
+ load (3.1ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10954
+ load (14.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10955
+ select (3.2ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10956
+ Started DELETE "/posts/1" for 127.0.0.1 at 2017-03-07 17:15:12 +0900
10957
+ Processing by PostsController#destroy as HTML
10958
+ Parameters: {"id"=>"1"}
10959
+ select (52.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
10960
+ delete (1.3ms) delete --filter "_id == 1" --table "posts"
10961
+ Redirected to http://www.example.com/posts
10962
+ Completed 302 Found in 58ms (Groonga: 53.8ms)
10963
+ select (1.2ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10964
+ shutdown (1.0ms) shutdown
10965
+ --------------------------------------------
10966
+ PostsControllerTest: test_should_create_post
10967
+ --------------------------------------------
10968
+ object_exist (2.9ms) object_exist --name "schema_versions"
10969
+ table_create (2.0ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10970
+ table_create (1.5ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10971
+ column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10972
+ column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10973
+ load (1.4ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
10974
+ table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
10975
+ schema (2.9ms) schema
10976
+ column_create (1.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
10977
+ load (1.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
10978
+ table_create (1.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
10979
+ load (1.2ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
10980
+ load (1.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10981
+ select (1.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10982
+ Started POST "/posts" for 127.0.0.1 at 2017-03-07 17:15:12 +0900
10983
+ Processing by PostsController#create as HTML
10984
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
10985
+ load (1.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
10986
+ Redirected to http://www.example.com/posts/2
10987
+ Completed 302 Found in 4ms (Groonga: 1.6ms)
10988
+ select (1.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts"
10989
+ select (1.6ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts"
10990
+ shutdown (0.9ms) shutdown
10991
+ -----------------------------------------
10992
+ PostsControllerTest: test_should_get_edit
10993
+ -----------------------------------------
10994
+ object_exist (3.2ms) object_exist --name "schema_versions"
10995
+ table_create (2.3ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
10996
+ table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
10997
+ column_create (1.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
10998
+ column_create (1.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
10999
+ load (1.9ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
11000
+ table_create (1.8ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
11001
+ schema (2.8ms) schema
11002
+ column_create (2.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
11003
+ load (1.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
11004
+ table_create (1.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
11005
+ load (1.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
11006
+ load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
11007
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2017-03-07 17:15:13 +0900
11008
+ Processing by PostsController#edit as HTML
11009
+ Parameters: {"id"=>"1"}
11010
+ select (44.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
11011
+ Rendering posts/edit.html.erb within layouts/application
11012
+ Rendered posts/_form.html.erb (2.6ms)
11013
+ Rendered posts/edit.html.erb within layouts/application (3.7ms)
11014
+ Completed 200 OK in 53ms (Views: 6.2ms | Groonga: 44.6ms)
11015
+ shutdown (0.7ms) shutdown
11016
+ ------------------------------------------
11017
+ PostsControllerTest: test_should_show_post
11018
+ ------------------------------------------
11019
+ object_exist (3.3ms) object_exist --name "schema_versions"
11020
+ table_create (3.1ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
11021
+ table_create (2.9ms) table_create --flags "TABLE_NO_KEY" --name "posts"
11022
+ column_create (2.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
11023
+ column_create (3.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
11024
+ load (6.0ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
11025
+ table_create (3.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
11026
+ schema (5.4ms) schema
11027
+ column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
11028
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
11029
+ table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
11030
+ load (2.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
11031
+ load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"
11032
+ Started GET "/posts/1" for 127.0.0.1 at 2017-03-07 17:15:13 +0900
11033
+ Processing by PostsController#show as HTML
11034
+ Parameters: {"id"=>"1"}
11035
+ select (34.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"
11036
+ Rendering posts/show.html.erb within layouts/application
11037
+ Rendered posts/show.html.erb within layouts/application (0.6ms)
11038
+ Completed 200 OK in 38ms (Views: 2.5ms | Groonga: 34.2ms)
11039
+ shutdown (0.8ms) shutdown
11040
+ ----------------------------
11041
+ PostTest: test_.create(Hash)
11042
+ ----------------------------
11043
+ object_exist (2.7ms) object_exist --name "schema_versions"
11044
+ table_create (2.4ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
11045
+ table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts"
11046
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
11047
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
11048
+ load (2.6ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
11049
+ table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
11050
+ schema (6.0ms) schema
11051
+ column_create (3.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
11052
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
11053
+ table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
11054
+ load (2.4ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
11055
+ load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"
11056
+ select (58.3ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
11057
+ shutdown (0.9ms) shutdown
11058
+ ------------------------------
11059
+ PostTest: test_.create([Hash])
11060
+ ------------------------------
11061
+ object_exist (2.7ms) object_exist --name "schema_versions"
11062
+ table_create (2.8ms) table_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"
11063
+ table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts"
11064
+ column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"
11065
+ column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"
11066
+ load (2.5ms) load --table "schema_versions" --values "[{\"_key\":20170301061420}]"
11067
+ table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"
11068
+ schema (6.1ms) schema
11069
+ column_create (4.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"
11070
+ load (3.0ms) load --table "schema_versions" --values "[{\"_key\":20170303115054}]"
11071
+ table_create (2.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"
11072
+ load (2.3ms) load --table "schema_versions" --values "[{\"_key\":20170303115135}]"
11073
+ load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"
11074
+ load (2.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"
11075
+ select (51.7ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"
11076
+ select (0.9ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"
11077
+ shutdown (0.6ms) shutdown