Skip to content

Instantly share code, notes, and snippets.

@y-yagi
Last active May 30, 2017 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save y-yagi/4d5252f57e957c7e41591ac4a7c1bb06 to your computer and use it in GitHub Desktop.
Save y-yagi/4d5252f57e957c7e41591ac4a7c1bb06 to your computer and use it in GitHub Desktop.
Run options: --seed 2259 -n "/^(?:PostgresqlHstoreTest#(?:test_comma)|ActiveRecord::InvertibleMigrationTest#(?:test_migrate_enable_and_disable_extension)|PostgresqlArrayTest#(?:test_schema_dump_with_shorthand))$/"
# Running:
..unknown OID 2248492: failed to recognize type of 'hstores'. It will be treated as String.
F
Finished in 1.074452s, 2.7921 runs/s, 7.4457 assertions/s.
1) Failure:
PostgresqlArrayTest#test_schema_dump_with_shorthand [/home/yaginuma/program/rails/master_y_yagi/rails/activerecord/test/cases/adapters/postgresql/array_test.rb:115]:
Expected /t\.string\s+"tags",\s+limit: 255,\s+array: true/ to match "# This file is auto-generated from the current state of the database. Instead\n# of editing this file, please use the migrations feature of Active Record to\n# incrementally modify your database, and then regenerate this schema definition.\n#\n# Note that this schema.rb definition is the authoritative source for your\n# database schema. If you need to create the application database on another\n# system, you should be using db:schema:load, not running all the migrations\n# from scratch. The latter is a flawed and unsustainable approach (the more migrations\n# you'll amass, the slower it'll run and the greater likelihood for issues).\n#\n# It's strongly recommended that you check this file into your version control system.\n\nActiveRecord::Schema.define(version: 0) do\n\n # These are extensions that must be enabled in order to support this database\n enable_extension \"plpgsql\"\n enable_extension \"uuid-ossp\"\n enable_extension \"hstore\"\n enable_extension \"ltree\"\n enable_extension \"pgcrypto\"\n\n# Could not dump table \"pg_arrays\" because of following StandardError\n# Unknown type 'hstore' for column 'hstores'\n\nend\n".
@y-yagi
Copy link
Author

y-yagi commented May 30, 2017

./bin/test -a postgresql --seed 20542 test/cases/invertible_migration_test.rb test/cases/adapters/postgresql/hstore_test.rb test/cases/adapters/postgresql/array_test.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment