bulk_insert 1.4.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/README.md +42 -1
- data/Rakefile +0 -5
- data/lib/bulk_insert.rb +2 -2
- data/lib/bulk_insert/statement_adapters.rb +22 -0
- data/lib/bulk_insert/statement_adapters/base_adapter.rb +21 -0
- data/lib/bulk_insert/statement_adapters/generic_adapter.rb +19 -0
- data/lib/bulk_insert/statement_adapters/mysql_adapter.rb +24 -0
- data/lib/bulk_insert/statement_adapters/postgresql_adapter.rb +28 -0
- data/lib/bulk_insert/statement_adapters/sqlite_adapter.rb +19 -0
- data/lib/bulk_insert/version.rb +2 -2
- data/lib/bulk_insert/worker.rb +63 -24
- data/test/bulk_insert/worker_test.rb +306 -1
- data/test/bulk_insert_test.rb +15 -1
- data/test/dummy/config/application.rb +1 -3
- metadata +43 -44
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -17
- data/test/dummy/log/test.log +0 -3396
data/test/bulk_insert_test.rb
CHANGED
@@ -20,10 +20,24 @@ class BulkInsertTest < ActiveSupport::TestCase
|
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
+
test "worker should not have any result sets without option for returning primary keys" do
|
24
|
+
worker = Testing.bulk_insert
|
25
|
+
worker.add greeting: "hello"
|
26
|
+
worker.save!
|
27
|
+
assert_empty worker.result_sets
|
28
|
+
end
|
29
|
+
|
30
|
+
test "with option to return primary keys, worker should have result sets" do
|
31
|
+
worker = Testing.bulk_insert(return_primary_keys: true)
|
32
|
+
worker.add greeting: "yo"
|
33
|
+
worker.save!
|
34
|
+
assert_equal 1, worker.result_sets.count
|
35
|
+
end
|
36
|
+
|
23
37
|
test "bulk_insert with array should save the array immediately" do
|
24
38
|
assert_difference "Testing.count", 2 do
|
25
39
|
Testing.bulk_insert values: [
|
26
|
-
[ "Hello", 15, true
|
40
|
+
[ "Hello", 15, true ],
|
27
41
|
{ greeting: "Hey", age: 20, happy: false }
|
28
42
|
]
|
29
43
|
end
|
@@ -19,8 +19,6 @@ module Dummy
|
|
19
19
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
20
20
|
# config.i18n.default_locale = :de
|
21
21
|
|
22
|
-
|
23
|
-
config.active_record.raise_in_transactional_callbacks = true
|
22
|
+
config.active_record.sqlite3.represent_boolean_as_integer = true
|
24
23
|
end
|
25
24
|
end
|
26
|
-
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bulk_insert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamis Buck
|
8
|
+
- Mauro Berlanda
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2020-05-25 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: activerecord
|
@@ -16,14 +17,14 @@ dependencies:
|
|
16
17
|
requirements:
|
17
18
|
- - ">="
|
18
19
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
+
version: 3.2.0
|
20
21
|
type: :runtime
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
25
|
- - ">="
|
25
26
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
27
|
+
version: 3.2.0
|
27
28
|
- !ruby/object:Gem::Dependency
|
28
29
|
name: sqlite3
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,17 +45,18 @@ dependencies:
|
|
44
45
|
requirements:
|
45
46
|
- - ">="
|
46
47
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
+
version: 3.2.0
|
48
49
|
type: :development
|
49
50
|
prerelease: false
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
53
|
- - ">="
|
53
54
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
+
version: 3.2.0
|
55
56
|
description: Faster inserts! Insert N records in a single statement.
|
56
57
|
email:
|
57
58
|
- jamis@jamisbuck.org
|
59
|
+
- mauro.berlanda@gmail.com
|
58
60
|
executables: []
|
59
61
|
extensions: []
|
60
62
|
extra_rdoc_files: []
|
@@ -63,6 +65,12 @@ files:
|
|
63
65
|
- README.md
|
64
66
|
- Rakefile
|
65
67
|
- lib/bulk_insert.rb
|
68
|
+
- lib/bulk_insert/statement_adapters.rb
|
69
|
+
- lib/bulk_insert/statement_adapters/base_adapter.rb
|
70
|
+
- lib/bulk_insert/statement_adapters/generic_adapter.rb
|
71
|
+
- lib/bulk_insert/statement_adapters/mysql_adapter.rb
|
72
|
+
- lib/bulk_insert/statement_adapters/postgresql_adapter.rb
|
73
|
+
- lib/bulk_insert/statement_adapters/sqlite_adapter.rb
|
66
74
|
- lib/bulk_insert/version.rb
|
67
75
|
- lib/bulk_insert/worker.rb
|
68
76
|
- test/bulk_insert/worker_test.rb
|
@@ -98,13 +106,9 @@ files:
|
|
98
106
|
- test/dummy/config/locales/en.yml
|
99
107
|
- test/dummy/config/routes.rb
|
100
108
|
- test/dummy/config/secrets.yml
|
101
|
-
- test/dummy/db/development.sqlite3
|
102
109
|
- test/dummy/db/migrate/20151008181535_create_testings.rb
|
103
110
|
- test/dummy/db/migrate/20151028194232_add_default_value.rb
|
104
111
|
- test/dummy/db/schema.rb
|
105
|
-
- test/dummy/db/test.sqlite3
|
106
|
-
- test/dummy/log/development.log
|
107
|
-
- test/dummy/log/test.log
|
108
112
|
- test/dummy/public/404.html
|
109
113
|
- test/dummy/public/422.html
|
110
114
|
- test/dummy/public/500.html
|
@@ -129,54 +133,49 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
133
|
- !ruby/object:Gem::Version
|
130
134
|
version: '0'
|
131
135
|
requirements: []
|
132
|
-
|
133
|
-
rubygems_version: 2.5.1
|
136
|
+
rubygems_version: 3.0.3
|
134
137
|
signing_key:
|
135
138
|
specification_version: 4
|
136
139
|
summary: An helper for doing batch (single-statement) inserts in ActiveRecord
|
137
140
|
test_files:
|
138
|
-
- test/
|
139
|
-
- test/bulk_insert_test.rb
|
140
|
-
- test/dummy/app/assets/javascripts/application.js
|
141
|
-
- test/dummy/app/assets/stylesheets/application.css
|
142
|
-
- test/dummy/app/controllers/application_controller.rb
|
143
|
-
- test/dummy/app/helpers/application_helper.rb
|
144
|
-
- test/dummy/app/models/testing.rb
|
145
|
-
- test/dummy/app/views/layouts/application.html.erb
|
141
|
+
- test/test_helper.rb
|
146
142
|
- test/dummy/bin/bundle
|
147
143
|
- test/dummy/bin/rails
|
148
144
|
- test/dummy/bin/rake
|
149
145
|
- test/dummy/bin/setup
|
150
|
-
- test/dummy/
|
151
|
-
- test/dummy/
|
152
|
-
- test/dummy/
|
153
|
-
- test/dummy/
|
154
|
-
- test/dummy/
|
155
|
-
- test/dummy/
|
156
|
-
- test/dummy/config/
|
146
|
+
- test/dummy/app/views/layouts/application.html.erb
|
147
|
+
- test/dummy/app/models/testing.rb
|
148
|
+
- test/dummy/app/helpers/application_helper.rb
|
149
|
+
- test/dummy/app/controllers/application_controller.rb
|
150
|
+
- test/dummy/app/assets/stylesheets/application.css
|
151
|
+
- test/dummy/app/assets/javascripts/application.js
|
152
|
+
- test/dummy/config/initializers/mime_types.rb
|
153
|
+
- test/dummy/config/initializers/inflections.rb
|
154
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
157
155
|
- test/dummy/config/initializers/assets.rb
|
158
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
159
156
|
- test/dummy/config/initializers/cookies_serializer.rb
|
160
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
161
|
-
- test/dummy/config/initializers/inflections.rb
|
162
|
-
- test/dummy/config/initializers/mime_types.rb
|
163
|
-
- test/dummy/config/initializers/session_store.rb
|
164
157
|
- test/dummy/config/initializers/wrap_parameters.rb
|
165
|
-
- test/dummy/config/
|
158
|
+
- test/dummy/config/initializers/session_store.rb
|
159
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
166
160
|
- test/dummy/config/routes.rb
|
161
|
+
- test/dummy/config/environment.rb
|
162
|
+
- test/dummy/config/locales/en.yml
|
163
|
+
- test/dummy/config/application.rb
|
164
|
+
- test/dummy/config/environments/test.rb
|
165
|
+
- test/dummy/config/environments/development.rb
|
166
|
+
- test/dummy/config/environments/production.rb
|
167
|
+
- test/dummy/config/database.yml
|
168
|
+
- test/dummy/config/boot.rb
|
167
169
|
- test/dummy/config/secrets.yml
|
168
|
-
- test/dummy/
|
169
|
-
- test/dummy/db/development.sqlite3
|
170
|
-
- test/dummy/db/migrate/20151008181535_create_testings.rb
|
171
|
-
- test/dummy/db/migrate/20151028194232_add_default_value.rb
|
172
|
-
- test/dummy/db/schema.rb
|
173
|
-
- test/dummy/db/test.sqlite3
|
174
|
-
- test/dummy/log/development.log
|
175
|
-
- test/dummy/log/test.log
|
176
|
-
- test/dummy/public/404.html
|
170
|
+
- test/dummy/Rakefile
|
177
171
|
- test/dummy/public/422.html
|
178
172
|
- test/dummy/public/500.html
|
173
|
+
- test/dummy/public/404.html
|
179
174
|
- test/dummy/public/favicon.ico
|
180
|
-
- test/dummy/
|
175
|
+
- test/dummy/db/schema.rb
|
176
|
+
- test/dummy/db/migrate/20151008181535_create_testings.rb
|
177
|
+
- test/dummy/db/migrate/20151028194232_add_default_value.rb
|
178
|
+
- test/dummy/config.ru
|
181
179
|
- test/dummy/README.rdoc
|
182
|
-
- test/
|
180
|
+
- test/bulk_insert/worker_test.rb
|
181
|
+
- test/bulk_insert_test.rb
|
Binary file
|
data/test/dummy/db/test.sqlite3
DELETED
Binary file
|
@@ -1,17 +0,0 @@
|
|
1
|
-
[1m[36m (2.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
-
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
-
Migrating to CreateTestings (20151008181535)
|
6
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "testings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "greeting" varchar, "age" integer, "happy" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151008181535"]]
|
9
|
-
[1m[35m (0.8ms)[0m commit transaction
|
10
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
12
|
-
Migrating to AddDefaultValue (20151028194232)
|
13
|
-
[1m[35m (0.1ms)[0m begin transaction
|
14
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "testings" ADD "color" varchar DEFAULT 'chartreuse'[0m
|
15
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151028194232"]]
|
16
|
-
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
17
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
data/test/dummy/log/test.log
DELETED
@@ -1,3396 +0,0 @@
|
|
1
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
-
[1m[35m (0.1ms)[0m begin transaction
|
3
|
-
----------------------------------------------------------------------------------------------
|
4
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
5
|
-
----------------------------------------------------------------------------------------------
|
6
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','chartreuse','2015-10-28 19:56:12.010467','2015-10-28 19:56:12.010467'),('Howdy',20,'f','chartreuse','2015-10-28 19:56:12.010467','2015-10-28 19:56:12.010467')[0m
|
7
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings"
|
8
|
-
[1m[36m (2.2ms)[0m [1mrollback transaction[0m
|
9
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10
|
-
[1m[35m (0.1ms)[0m begin transaction
|
11
|
-
------------------------------------------------------------------------------
|
12
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
13
|
-
------------------------------------------------------------------------------
|
14
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
15
|
-
[1m[35m (0.1ms)[0m begin transaction
|
16
|
-
-------------------------------------------------------------------
|
17
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
18
|
-
-------------------------------------------------------------------
|
19
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
20
|
-
[1m[35m (0.0ms)[0m begin transaction
|
21
|
-
---------------------------------------------------------------
|
22
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
23
|
-
---------------------------------------------------------------
|
24
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
25
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
27
|
-
[1m[35m (0.1ms)[0m begin transaction
|
28
|
-
---------------------------------------------------------------------
|
29
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
30
|
-
---------------------------------------------------------------------
|
31
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
32
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33
|
-
[1m[36m (0.8ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2015-10-28 19:58:04.040969','2015-10-28 19:58:04.040969','chartreuse')[0m
|
34
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
36
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
37
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38
|
-
--------------------------------------------------------
|
39
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
40
|
-
--------------------------------------------------------
|
41
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-28 19:58:04.045737','2015-10-28 19:58:04.045737','2015-10-28 19:58:04.045767'),('Hello',25,'t','2015-10-28 19:58:04.045737','2015-10-28 19:58:04.045737','2015-10-28 19:58:04.045767')
|
42
|
-
[1m[36mTesting Load (0.2ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
43
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
44
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
45
|
-
[1m[35m (0.1ms)[0m begin transaction
|
46
|
-
----------------------------------------------------------------------------------
|
47
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
48
|
-
----------------------------------------------------------------------------------
|
49
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-28 19:58:04.065706','2015-10-28 19:58:04.065706','2015-10-28 19:58:04.065732')[0m
|
50
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
51
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
52
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
53
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54
|
-
-------------------------------------------------------------------
|
55
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
56
|
-
-------------------------------------------------------------------
|
57
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
58
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
59
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
60
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
61
|
-
-------------------------------------------------------------------------------
|
62
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
63
|
-
-------------------------------------------------------------------------------
|
64
|
-
[1m[35m (0.4ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','chartreuse','2015-10-28 19:58:04.071406','2015-10-28 19:58:04.071406')
|
65
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
66
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
67
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68
|
-
------------------------------------------------------------------------------
|
69
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
70
|
-
------------------------------------------------------------------------------
|
71
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',20,'f','chartreuse','2015-10-28 19:58:04.074184','2015-10-28 19:58:04.074184')
|
72
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
73
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
74
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
75
|
-
---------------------------------------------------------
|
76
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
77
|
-
---------------------------------------------------------
|
78
|
-
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-28 19:58:04.076665','2015-10-28 19:58:04.076665','2015-10-28 19:58:04.076706')
|
79
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
80
|
-
[1m[35m (0.1ms)[0m begin transaction
|
81
|
-
----------------------------------------------------------------------------------------------
|
82
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
83
|
-
----------------------------------------------------------------------------------------------
|
84
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','chartreuse','2015-10-28 19:58:04.079884','2015-10-28 19:58:04.079884'),('Howdy',20,'f','chartreuse','2015-10-28 19:58:04.079884','2015-10-28 19:58:04.079884')[0m
|
85
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings"
|
86
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
87
|
-
[1m[35m (0.1ms)[0m begin transaction
|
88
|
-
----------------------------------------------------------------
|
89
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
90
|
-
----------------------------------------------------------------
|
91
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Yo',20,'f','chartreuse','2015-10-28 19:58:04.082441','2015-10-28 19:58:04.082441')[0m
|
92
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
93
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
94
|
-
[1m[35m (0.1ms)[0m begin transaction
|
95
|
-
--------------------------------------------------------------------
|
96
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
97
|
-
--------------------------------------------------------------------
|
98
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
99
|
-
[1m[35m (0.1ms)[0m begin transaction
|
100
|
-
------------------------------------------------------
|
101
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
102
|
-
------------------------------------------------------
|
103
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
104
|
-
[1m[35m (0.1ms)[0m begin transaction
|
105
|
-
----------------------------------------------------------------
|
106
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
107
|
-
----------------------------------------------------------------
|
108
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',20,'f',NULL,'2015-10-28 19:58:04.085934','2015-10-28 19:58:04.085934')[0m
|
109
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
110
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
111
|
-
[1m[35m (0.1ms)[0m begin transaction
|
112
|
-
-------------------------------------------
|
113
|
-
BulkInsertWorkerTest: test_default_set_size
|
114
|
-
-------------------------------------------
|
115
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
116
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
117
|
-
[1m[35m (0.1ms)[0m begin transaction
|
118
|
-
------------------------------------------------------------------------------
|
119
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
120
|
-
------------------------------------------------------------------------------
|
121
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
122
|
-
[1m[35m (0.1ms)[0m begin transaction
|
123
|
-
-------------------------------------------------------------------
|
124
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
125
|
-
-------------------------------------------------------------------
|
126
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
127
|
-
[1m[35m (0.0ms)[0m begin transaction
|
128
|
-
---------------------------------------------------------------------
|
129
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
130
|
-
---------------------------------------------------------------------
|
131
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
132
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
133
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2015-10-28 20:01:54.280213','2015-10-28 20:01:54.280213','chartreuse')[0m
|
134
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
135
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
136
|
-
[1m[35m (1.8ms)[0m rollback transaction
|
137
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
138
|
-
---------------------------------------------------------------
|
139
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
140
|
-
---------------------------------------------------------------
|
141
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
142
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
143
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
144
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
145
|
-
----------------------------------------------------------------------------------------------
|
146
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
147
|
-
----------------------------------------------------------------------------------------------
|
148
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','chartreuse','2015-10-28 20:01:54.287981','2015-10-28 20:01:54.287981'),('Howdy',20,'f','chartreuse','2015-10-28 20:01:54.287981','2015-10-28 20:01:54.287981')
|
149
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings"[0m
|
150
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
151
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
152
|
-
------------------------------------------------------------------------------
|
153
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
154
|
-
------------------------------------------------------------------------------
|
155
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',20,'f','chartreuse','2015-10-28 20:01:54.304735','2015-10-28 20:01:54.304735')
|
156
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
157
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
158
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
159
|
-
--------------------------------------------------------------------
|
160
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
161
|
-
--------------------------------------------------------------------
|
162
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
163
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
164
|
-
----------------------------------------------------------------------------------
|
165
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
166
|
-
----------------------------------------------------------------------------------
|
167
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-28 20:01:54.308089','2015-10-28 20:01:54.308089','2015-10-28 20:01:54.308108')
|
168
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
169
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
170
|
-
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
171
|
-
[1m[35m (0.1ms)[0m begin transaction
|
172
|
-
------------------------------------------------------
|
173
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
174
|
-
------------------------------------------------------
|
175
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
176
|
-
[1m[35m (0.0ms)[0m begin transaction
|
177
|
-
-------------------------------------------
|
178
|
-
BulkInsertWorkerTest: test_default_set_size
|
179
|
-
-------------------------------------------
|
180
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
181
|
-
[1m[35m (0.1ms)[0m begin transaction
|
182
|
-
-------------------------------------------------------------------------------
|
183
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
184
|
-
-------------------------------------------------------------------------------
|
185
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','chartreuse','2015-10-28 20:01:54.313502','2015-10-28 20:01:54.313502')[0m
|
186
|
-
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
187
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
188
|
-
[1m[35m (0.1ms)[0m begin transaction
|
189
|
-
---------------------------------------------------------
|
190
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
191
|
-
---------------------------------------------------------
|
192
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-28 20:01:54.316472','2015-10-28 20:01:54.316472','2015-10-28 20:01:54.316496')[0m
|
193
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
194
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
195
|
-
-------------------------------------------------------------------
|
196
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
197
|
-
-------------------------------------------------------------------
|
198
|
-
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "testings"
|
199
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
200
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
201
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
202
|
-
----------------------------------------------------------------
|
203
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
204
|
-
----------------------------------------------------------------
|
205
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Yo',20,'f','chartreuse','2015-10-28 20:01:54.320417','2015-10-28 20:01:54.320417')
|
206
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
207
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
208
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
209
|
-
----------------------------------------------------------------
|
210
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
211
|
-
----------------------------------------------------------------
|
212
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',20,'f',NULL,'2015-10-28 20:01:54.322459','2015-10-28 20:01:54.322459')
|
213
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
214
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
215
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
216
|
-
--------------------------------------------------------
|
217
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
218
|
-
--------------------------------------------------------
|
219
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-28 20:01:54.324109','2015-10-28 20:01:54.324109','2015-10-28 20:01:54.324131'),('Hello',25,'t','2015-10-28 20:01:54.324109','2015-10-28 20:01:54.324109','2015-10-28 20:01:54.324131')
|
220
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
221
|
-
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
222
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
223
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
224
|
-
[1m[35m (0.1ms)[0m begin transaction
|
225
|
-
---------------------------------------------------------------------
|
226
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
227
|
-
---------------------------------------------------------------------
|
228
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
229
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
230
|
-
[1m[36m (0.5ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2015-10-28 20:04:24.830190','2015-10-28 20:04:24.830190','chartreuse')[0m
|
231
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
232
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
233
|
-
[1m[35m (1.9ms)[0m rollback transaction
|
234
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
235
|
-
-------------------------------------------------------------------
|
236
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
237
|
-
-------------------------------------------------------------------
|
238
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
239
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
240
|
-
------------------------------------------------------------------------------
|
241
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
242
|
-
------------------------------------------------------------------------------
|
243
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
244
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
245
|
-
---------------------------------------------------------------
|
246
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
247
|
-
---------------------------------------------------------------
|
248
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
249
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
250
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
251
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
252
|
-
-----------------------------------------------------------------------------
|
253
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
254
|
-
-----------------------------------------------------------------------------
|
255
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
256
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
257
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
258
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
259
|
-
----------------------------------------------------------------
|
260
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
261
|
-
----------------------------------------------------------------
|
262
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Yo',20,'f','chartreuse','2015-10-28 20:04:24.840586','2015-10-28 20:04:24.840586')
|
263
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
264
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
265
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
266
|
-
--------------------------------------------------------------------
|
267
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
268
|
-
--------------------------------------------------------------------
|
269
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
270
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
271
|
-
-------------------------------------------
|
272
|
-
BulkInsertWorkerTest: test_default_set_size
|
273
|
-
-------------------------------------------
|
274
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
275
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
276
|
-
-------------------------------------------------------------------------------
|
277
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
278
|
-
-------------------------------------------------------------------------------
|
279
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','chartreuse','2015-10-28 20:04:24.851291','2015-10-28 20:04:24.851291')
|
280
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
281
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
282
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
283
|
-
--------------------------------------------------------
|
284
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
285
|
-
--------------------------------------------------------
|
286
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-28 20:04:24.853653','2015-10-28 20:04:24.853653','2015-10-28 20:04:24.853678'),('Hello',25,'t','2015-10-28 20:04:24.853653','2015-10-28 20:04:24.853653','2015-10-28 20:04:24.853678')
|
287
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
288
|
-
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
289
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
290
|
-
[1m[35m (0.1ms)[0m begin transaction
|
291
|
-
------------------------------------------------------
|
292
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
293
|
-
------------------------------------------------------
|
294
|
-
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
295
|
-
[1m[35m (0.1ms)[0m begin transaction
|
296
|
-
------------------------------------------------------------------------------
|
297
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
298
|
-
------------------------------------------------------------------------------
|
299
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',20,'f','chartreuse','2015-10-28 20:04:24.862415','2015-10-28 20:04:24.862415')[0m
|
300
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
301
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
302
|
-
[1m[35m (0.1ms)[0m begin transaction
|
303
|
-
----------------------------------------------------------------
|
304
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
305
|
-
----------------------------------------------------------------
|
306
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',20,'f',NULL,'2015-10-28 20:04:24.864939','2015-10-28 20:04:24.864939')[0m
|
307
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
308
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
309
|
-
[1m[35m (0.1ms)[0m begin transaction
|
310
|
-
----------------------------------------------------------------------------------
|
311
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
312
|
-
----------------------------------------------------------------------------------
|
313
|
-
[1m[36m (0.8ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-28 20:04:24.867103','2015-10-28 20:04:24.867103','2015-10-28 20:04:24.867135')[0m
|
314
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
315
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
316
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
317
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
318
|
-
-------------------------------------------------------------------
|
319
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
320
|
-
-------------------------------------------------------------------
|
321
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
322
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
323
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
324
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
325
|
-
---------------------------------------------------------
|
326
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
327
|
-
---------------------------------------------------------
|
328
|
-
[1m[35m (0.4ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-28 20:04:24.873964','2015-10-28 20:04:24.873964','2015-10-28 20:04:24.874001')
|
329
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
330
|
-
[1m[35m (0.0ms)[0m begin transaction
|
331
|
-
----------------------------------------------------------------------------------------------
|
332
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
333
|
-
----------------------------------------------------------------------------------------------
|
334
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','chartreuse','2015-10-28 20:04:24.876104','2015-10-28 20:04:24.876104'),('Howdy',20,'f','chartreuse','2015-10-28 20:04:24.876104','2015-10-28 20:04:24.876104')[0m
|
335
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings"
|
336
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
337
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
338
|
-
[1m[35m (0.1ms)[0m begin transaction
|
339
|
-
--------------------------------------------------------
|
340
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
341
|
-
--------------------------------------------------------
|
342
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-28 20:04:55.313829','2015-10-28 20:04:55.313829','2015-10-28 20:04:55.313868'),('Hello',25,'t','2015-10-28 20:04:55.313829','2015-10-28 20:04:55.313829','2015-10-28 20:04:55.313868')[0m
|
343
|
-
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
344
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
345
|
-
[1m[35m (2.1ms)[0m rollback transaction
|
346
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
347
|
-
-------------------------------------------------------------------------------
|
348
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
349
|
-
-------------------------------------------------------------------------------
|
350
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','chartreuse','2015-10-28 20:04:55.338817','2015-10-28 20:04:55.338817')
|
351
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
352
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
353
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
354
|
-
----------------------------------------------------------------------------------------------
|
355
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
356
|
-
----------------------------------------------------------------------------------------------
|
357
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','chartreuse','2015-10-28 20:04:55.341256','2015-10-28 20:04:55.341256'),('Howdy',20,'f','chartreuse','2015-10-28 20:04:55.341256','2015-10-28 20:04:55.341256')
|
358
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings"[0m
|
359
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
360
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
361
|
-
-------------------------------------------
|
362
|
-
BulkInsertWorkerTest: test_default_set_size
|
363
|
-
-------------------------------------------
|
364
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
365
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
366
|
-
-------------------------------------------------------------------
|
367
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
368
|
-
-------------------------------------------------------------------
|
369
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
370
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
371
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
372
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
373
|
-
------------------------------------------------------
|
374
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
375
|
-
------------------------------------------------------
|
376
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
377
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
378
|
-
----------------------------------------------------------------------------------
|
379
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
380
|
-
----------------------------------------------------------------------------------
|
381
|
-
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-28 20:04:55.348661','2015-10-28 20:04:55.348661','2015-10-28 20:04:55.348700')
|
382
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
383
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
384
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
385
|
-
[1m[35m (0.1ms)[0m begin transaction
|
386
|
-
----------------------------------------------------------------
|
387
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
388
|
-
----------------------------------------------------------------
|
389
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Yo',20,'f','chartreuse','2015-10-28 20:04:55.352140','2015-10-28 20:04:55.352140')[0m
|
390
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
391
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
392
|
-
[1m[35m (0.1ms)[0m begin transaction
|
393
|
-
----------------------------------------------------------------
|
394
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
395
|
-
----------------------------------------------------------------
|
396
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',20,'f',NULL,'2015-10-28 20:04:55.355649','2015-10-28 20:04:55.355649')[0m
|
397
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
398
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
399
|
-
[1m[35m (0.1ms)[0m begin transaction
|
400
|
-
--------------------------------------------------------------------
|
401
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
402
|
-
--------------------------------------------------------------------
|
403
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
404
|
-
[1m[35m (0.1ms)[0m begin transaction
|
405
|
-
---------------------------------------------------------
|
406
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
407
|
-
---------------------------------------------------------
|
408
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-28 20:04:55.358415','2015-10-28 20:04:55.358415','2015-10-28 20:04:55.358437')[0m
|
409
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
410
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
411
|
-
------------------------------------------------------------------------------
|
412
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
413
|
-
------------------------------------------------------------------------------
|
414
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',20,'f','chartreuse','2015-10-28 20:04:55.360282','2015-10-28 20:04:55.360282')
|
415
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
416
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
417
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
418
|
-
-------------------------------------------------------------------
|
419
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
420
|
-
-------------------------------------------------------------------
|
421
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
422
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
423
|
-
---------------------------------------------------------------------
|
424
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
425
|
-
---------------------------------------------------------------------
|
426
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
427
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
428
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2015-10-28 20:04:55.365420','2015-10-28 20:04:55.365420','chartreuse')
|
429
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
430
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
431
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
432
|
-
[1m[35m (0.1ms)[0m begin transaction
|
433
|
-
------------------------------------------------------------------------------
|
434
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
435
|
-
------------------------------------------------------------------------------
|
436
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
437
|
-
[1m[35m (0.1ms)[0m begin transaction
|
438
|
-
-----------------------------------------------------------------------------
|
439
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
440
|
-
-----------------------------------------------------------------------------
|
441
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
442
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
443
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
444
|
-
---------------------------------------------------------------
|
445
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
446
|
-
---------------------------------------------------------------
|
447
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
448
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
449
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
450
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
451
|
-
[1m[35m (0.1ms)[0m begin transaction
|
452
|
-
---------------------------------------------------------------
|
453
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
454
|
-
---------------------------------------------------------------
|
455
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
456
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
457
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
458
|
-
[1m[35m (0.1ms)[0m begin transaction
|
459
|
-
-----------------------------------------------------------------------------
|
460
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
461
|
-
-----------------------------------------------------------------------------
|
462
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
463
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
464
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
465
|
-
[1m[35m (0.1ms)[0m begin transaction
|
466
|
-
-------------------------------------------------------------------
|
467
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
468
|
-
-------------------------------------------------------------------
|
469
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
470
|
-
[1m[35m (0.1ms)[0m begin transaction
|
471
|
-
---------------------------------------------------------------------
|
472
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
473
|
-
---------------------------------------------------------------------
|
474
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
475
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
476
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2015-10-28 20:05:11.145797','2015-10-28 20:05:11.145797','chartreuse')[0m
|
477
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
478
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
479
|
-
[1m[35m (1.5ms)[0m rollback transaction
|
480
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
481
|
-
------------------------------------------------------------------------------
|
482
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
483
|
-
------------------------------------------------------------------------------
|
484
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
485
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
486
|
-
----------------------------------------------------------------------------------------------
|
487
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
488
|
-
----------------------------------------------------------------------------------------------
|
489
|
-
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','chartreuse','2015-10-28 20:05:11.153186','2015-10-28 20:05:11.153186'),('Howdy',20,'f','chartreuse','2015-10-28 20:05:11.153186','2015-10-28 20:05:11.153186')
|
490
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings"[0m
|
491
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
492
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
493
|
-
----------------------------------------------------------------
|
494
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
495
|
-
----------------------------------------------------------------
|
496
|
-
[1m[35m (1.7ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Yo',20,'f','chartreuse','2015-10-28 20:05:11.171453','2015-10-28 20:05:11.171453')
|
497
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
498
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
499
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
500
|
-
--------------------------------------------------------------------
|
501
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
502
|
-
--------------------------------------------------------------------
|
503
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
504
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
505
|
-
--------------------------------------------------------
|
506
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
507
|
-
--------------------------------------------------------
|
508
|
-
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-28 20:05:11.178283','2015-10-28 20:05:11.178283','2015-10-28 20:05:11.178323'),('Hello',25,'t','2015-10-28 20:05:11.178283','2015-10-28 20:05:11.178283','2015-10-28 20:05:11.178323')
|
509
|
-
[1m[36mTesting Load (0.2ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
510
|
-
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
511
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
512
|
-
[1m[35m (0.1ms)[0m begin transaction
|
513
|
-
------------------------------------------------------------------------------
|
514
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
515
|
-
------------------------------------------------------------------------------
|
516
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',20,'f','chartreuse','2015-10-28 20:05:11.186006','2015-10-28 20:05:11.186006')[0m
|
517
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
518
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
519
|
-
[1m[35m (0.1ms)[0m begin transaction
|
520
|
-
---------------------------------------------------------
|
521
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
522
|
-
---------------------------------------------------------
|
523
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-28 20:05:11.187879','2015-10-28 20:05:11.187879','2015-10-28 20:05:11.187899')[0m
|
524
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
525
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
526
|
-
-------------------------------------------------------------------------------
|
527
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
528
|
-
-------------------------------------------------------------------------------
|
529
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','chartreuse','2015-10-28 20:05:11.189483','2015-10-28 20:05:11.189483')
|
530
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
531
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
532
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
533
|
-
-------------------------------------------------------------------
|
534
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
535
|
-
-------------------------------------------------------------------
|
536
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "testings"
|
537
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
538
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
539
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
540
|
-
-------------------------------------------
|
541
|
-
BulkInsertWorkerTest: test_default_set_size
|
542
|
-
-------------------------------------------
|
543
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
544
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
545
|
-
----------------------------------------------------------------
|
546
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
547
|
-
----------------------------------------------------------------
|
548
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',20,'f',NULL,'2015-10-28 20:05:11.195762','2015-10-28 20:05:11.195762')
|
549
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
550
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
551
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
552
|
-
----------------------------------------------------------------------------------
|
553
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
554
|
-
----------------------------------------------------------------------------------
|
555
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","color","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-28 20:05:11.197966','2015-10-28 20:05:11.197966','2015-10-28 20:05:11.197996')
|
556
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
557
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
558
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
559
|
-
[1m[35m (0.0ms)[0m begin transaction
|
560
|
-
------------------------------------------------------
|
561
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
562
|
-
------------------------------------------------------
|
563
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
564
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
565
|
-
[1m[35m (0.1ms)[0m begin transaction
|
566
|
-
-------------------------------------------------------------------
|
567
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
568
|
-
-------------------------------------------------------------------
|
569
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
570
|
-
[1m[35m (0.1ms)[0m begin transaction
|
571
|
-
---------------------------------------------------------------------
|
572
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
573
|
-
---------------------------------------------------------------------
|
574
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
575
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
576
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2015-10-28 20:08:36.160464','2015-10-28 20:08:36.160464','chartreuse')[0m
|
577
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
578
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
579
|
-
[1m[35m (1.4ms)[0m rollback transaction
|
580
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
581
|
-
-----------------------------------------------------------------------------
|
582
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
583
|
-
-----------------------------------------------------------------------------
|
584
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "testings"
|
585
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
586
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
587
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
588
|
-
---------------------------------------------------------------
|
589
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
590
|
-
---------------------------------------------------------------
|
591
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
592
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
593
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
594
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
595
|
-
------------------------------------------------------------------------------
|
596
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
597
|
-
------------------------------------------------------------------------------
|
598
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
599
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
600
|
-
-------------------------------------------------------------------------------
|
601
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
602
|
-
-------------------------------------------------------------------------------
|
603
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:08:36.168789','2015-10-28 20:08:36.168789','chartreuse')
|
604
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
605
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
606
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
607
|
-
----------------------------------------------------------------
|
608
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
609
|
-
----------------------------------------------------------------
|
610
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2015-10-28 20:08:36.185961','2015-10-28 20:08:36.185961',NULL)
|
611
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
612
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
613
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
614
|
-
--------------------------------------------------------
|
615
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
616
|
-
--------------------------------------------------------
|
617
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2015-10-28 20:08:36.187970','2015-10-28 20:08:36.187970','chartreuse'),('Hello',25,'t','2015-10-28 20:08:36.187970','2015-10-28 20:08:36.187970','chartreuse')
|
618
|
-
[1m[36mTesting Load (0.2ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
619
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
620
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
621
|
-
[1m[35m (0.0ms)[0m begin transaction
|
622
|
-
--------------------------------------------------------------------
|
623
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
624
|
-
--------------------------------------------------------------------
|
625
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
626
|
-
[1m[35m (0.0ms)[0m begin transaction
|
627
|
-
----------------------------------------------------------------------------------------------
|
628
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
629
|
-
----------------------------------------------------------------------------------------------
|
630
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:08:36.196327','2015-10-28 20:08:36.196327','chartreuse'),('Howdy',20,'f','2015-10-28 20:08:36.196327','2015-10-28 20:08:36.196327','chartreuse')[0m
|
631
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings"
|
632
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
633
|
-
[1m[35m (0.0ms)[0m begin transaction
|
634
|
-
------------------------------------------------------------------------------
|
635
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
636
|
-
------------------------------------------------------------------------------
|
637
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2015-10-28 20:08:36.199777','2015-10-28 20:08:36.199777','chartreuse')[0m
|
638
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
639
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
640
|
-
[1m[35m (0.1ms)[0m begin transaction
|
641
|
-
----------------------------------------------------------------------------------
|
642
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
643
|
-
----------------------------------------------------------------------------------
|
644
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:08:36.201884','2015-10-28 20:08:36.201884','chartreuse')[0m
|
645
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
646
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
647
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
648
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
649
|
-
---------------------------------------------------------
|
650
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
651
|
-
---------------------------------------------------------
|
652
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:08:36.204178','2015-10-28 20:08:36.204178','chartreuse')
|
653
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
654
|
-
[1m[35m (0.0ms)[0m begin transaction
|
655
|
-
------------------------------------------------------
|
656
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
657
|
-
------------------------------------------------------
|
658
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
659
|
-
[1m[35m (0.0ms)[0m begin transaction
|
660
|
-
-------------------------------------------------------------------
|
661
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
662
|
-
-------------------------------------------------------------------
|
663
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
664
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
665
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
666
|
-
[1m[35m (0.1ms)[0m begin transaction
|
667
|
-
----------------------------------------------------------------
|
668
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
669
|
-
----------------------------------------------------------------
|
670
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2015-10-28 20:08:36.207778','2015-10-28 20:08:36.207778','chartreuse')[0m
|
671
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
672
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
673
|
-
[1m[35m (0.1ms)[0m begin transaction
|
674
|
-
-------------------------------------------
|
675
|
-
BulkInsertWorkerTest: test_default_set_size
|
676
|
-
-------------------------------------------
|
677
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
678
|
-
[1m[35m (0.1ms)[0m begin transaction
|
679
|
-
---------------------------------------------------------------------
|
680
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
681
|
-
---------------------------------------------------------------------
|
682
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
683
|
-
[1m[35m (0.0ms)[0m begin transaction
|
684
|
-
----------------------------------------------------------------------------
|
685
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
686
|
-
----------------------------------------------------------------------------
|
687
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
688
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
689
|
-
[1m[35m (0.1ms)[0m begin transaction
|
690
|
-
------------------------------------------------------------------------------
|
691
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
692
|
-
------------------------------------------------------------------------------
|
693
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
694
|
-
[1m[35m (0.1ms)[0m begin transaction
|
695
|
-
-------------------------------------------------------------------
|
696
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
697
|
-
-------------------------------------------------------------------
|
698
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
699
|
-
[1m[35m (0.1ms)[0m begin transaction
|
700
|
-
---------------------------------------------------------------
|
701
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
702
|
-
---------------------------------------------------------------
|
703
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
704
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
705
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
706
|
-
[1m[35m (0.1ms)[0m begin transaction
|
707
|
-
---------------------------------------------------------------------
|
708
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
709
|
-
---------------------------------------------------------------------
|
710
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
711
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
712
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2015-10-28 20:09:27.946829','2015-10-28 20:09:27.946829','chartreuse')[0m
|
713
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
714
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
715
|
-
[1m[35m (1.8ms)[0m rollback transaction
|
716
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
717
|
-
-----------------------------------------------------------------------------
|
718
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
719
|
-
-----------------------------------------------------------------------------
|
720
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
721
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
722
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
723
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
724
|
-
----------------------------------------------------------------------------------------------
|
725
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
726
|
-
----------------------------------------------------------------------------------------------
|
727
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:09:27.954680','2015-10-28 20:09:27.954680','chartreuse'),('Howdy',20,'f','2015-10-28 20:09:27.954680','2015-10-28 20:09:27.954680','chartreuse')
|
728
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings"[0m
|
729
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
730
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
731
|
-
------------------------------------------------------
|
732
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
733
|
-
------------------------------------------------------
|
734
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
735
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
736
|
-
------------------------------------------------------------------------------
|
737
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
738
|
-
------------------------------------------------------------------------------
|
739
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2015-10-28 20:09:27.963276','2015-10-28 20:09:27.963276','chartreuse')
|
740
|
-
[1m[36mTesting Load (0.2ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
741
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
742
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
743
|
-
---------------------------------------------------------------------
|
744
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
745
|
-
---------------------------------------------------------------------
|
746
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
747
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
748
|
-
--------------------------------------------------------------------
|
749
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
750
|
-
--------------------------------------------------------------------
|
751
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
752
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
753
|
-
-------------------------------------------------------------------
|
754
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
755
|
-
-------------------------------------------------------------------
|
756
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
757
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
758
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
759
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
760
|
-
----------------------------------------------------------------------------------
|
761
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
762
|
-
----------------------------------------------------------------------------------
|
763
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:09:27.969154','2015-10-28 20:09:27.969154','chartreuse')
|
764
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
765
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
766
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
767
|
-
[1m[35m (0.1ms)[0m begin transaction
|
768
|
-
-------------------------------------------
|
769
|
-
BulkInsertWorkerTest: test_default_set_size
|
770
|
-
-------------------------------------------
|
771
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
772
|
-
[1m[35m (0.0ms)[0m begin transaction
|
773
|
-
----------------------------------------------------------------
|
774
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
775
|
-
----------------------------------------------------------------
|
776
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2015-10-28 20:09:27.974010','2015-10-28 20:09:27.974010',NULL)[0m
|
777
|
-
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
778
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
779
|
-
[1m[35m (0.1ms)[0m begin transaction
|
780
|
-
----------------------------------------------------------------
|
781
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
782
|
-
----------------------------------------------------------------
|
783
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2015-10-28 20:09:27.976276','2015-10-28 20:09:27.976276','chartreuse')[0m
|
784
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
785
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
786
|
-
[1m[35m (0.1ms)[0m begin transaction
|
787
|
-
-------------------------------------------------------------------------------
|
788
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
789
|
-
-------------------------------------------------------------------------------
|
790
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:09:27.979366','2015-10-28 20:09:27.979366','chartreuse')[0m
|
791
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
792
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
793
|
-
[1m[35m (0.1ms)[0m begin transaction
|
794
|
-
----------------------------------------------------------------------------
|
795
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
796
|
-
----------------------------------------------------------------------------
|
797
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
798
|
-
[1m[35m (0.1ms)[0m begin transaction
|
799
|
-
---------------------------------------------------------
|
800
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
801
|
-
---------------------------------------------------------
|
802
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:09:27.982136','2015-10-28 20:09:27.982136','chartreuse')[0m
|
803
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
804
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
805
|
-
--------------------------------------------------------
|
806
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
807
|
-
--------------------------------------------------------
|
808
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2015-10-28 20:09:27.983507','2015-10-28 20:09:27.983507','chartreuse'),('Hello',25,'t','2015-10-28 20:09:27.983507','2015-10-28 20:09:27.983507','chartreuse')
|
809
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
810
|
-
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
811
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
812
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
813
|
-
[1m[35m (0.1ms)[0m begin transaction
|
814
|
-
------------------------------------------------------------------------------
|
815
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
816
|
-
------------------------------------------------------------------------------
|
817
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
818
|
-
[1m[35m (0.1ms)[0m begin transaction
|
819
|
-
-------------------------------------------------------------------
|
820
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
821
|
-
-------------------------------------------------------------------
|
822
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
823
|
-
[1m[35m (0.1ms)[0m begin transaction
|
824
|
-
-----------------------------------------------------------------------------
|
825
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
826
|
-
-----------------------------------------------------------------------------
|
827
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
828
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
829
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
830
|
-
[1m[35m (0.1ms)[0m begin transaction
|
831
|
-
---------------------------------------------------------------
|
832
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
833
|
-
---------------------------------------------------------------
|
834
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
835
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
836
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
837
|
-
[1m[35m (0.1ms)[0m begin transaction
|
838
|
-
---------------------------------------------------------------------
|
839
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
840
|
-
---------------------------------------------------------------------
|
841
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
842
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
843
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2015-10-28 20:09:47.625618','2015-10-28 20:09:47.625618','chartreuse')[0m
|
844
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
845
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
846
|
-
[1m[35m (1.9ms)[0m rollback transaction
|
847
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
848
|
-
-------------------------------------------
|
849
|
-
BulkInsertWorkerTest: test_default_set_size
|
850
|
-
-------------------------------------------
|
851
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
852
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
853
|
-
---------------------------------------------------------------------
|
854
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
855
|
-
---------------------------------------------------------------------
|
856
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
857
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
858
|
-
-------------------------------------------------------------------------------
|
859
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
860
|
-
-------------------------------------------------------------------------------
|
861
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:09:47.633058','2015-10-28 20:09:47.633058','chartreuse')
|
862
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
863
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
864
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
865
|
-
----------------------------------------------------------------
|
866
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
867
|
-
----------------------------------------------------------------
|
868
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2015-10-28 20:09:47.649491','2015-10-28 20:09:47.649491',NULL)
|
869
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
870
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
871
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
872
|
-
----------------------------------------------------------------
|
873
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
874
|
-
----------------------------------------------------------------
|
875
|
-
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2015-10-28 20:09:47.652846','2015-10-28 20:09:47.652846','chartreuse')
|
876
|
-
[1m[36mTesting Load (0.2ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
877
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
878
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
879
|
-
----------------------------------------------------------------------------
|
880
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
881
|
-
----------------------------------------------------------------------------
|
882
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
883
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
884
|
-
-------------------------------------------------------------------
|
885
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
886
|
-
-------------------------------------------------------------------
|
887
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
888
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
889
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
890
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
891
|
-
--------------------------------------------------------------------
|
892
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
893
|
-
--------------------------------------------------------------------
|
894
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
895
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
896
|
-
------------------------------------------------------------------------------
|
897
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
898
|
-
------------------------------------------------------------------------------
|
899
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2015-10-28 20:09:47.660440','2015-10-28 20:09:47.660440','chartreuse')
|
900
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
901
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
902
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
903
|
-
----------------------------------------------------------------------------------
|
904
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
905
|
-
----------------------------------------------------------------------------------
|
906
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:09:47.662496','2015-10-28 20:09:47.662496','chartreuse')
|
907
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
908
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
909
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
910
|
-
[1m[35m (0.1ms)[0m begin transaction
|
911
|
-
------------------------------------------------------
|
912
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
913
|
-
------------------------------------------------------
|
914
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
915
|
-
[1m[35m (0.1ms)[0m begin transaction
|
916
|
-
----------------------------------------------------------------------------------------------
|
917
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
918
|
-
----------------------------------------------------------------------------------------------
|
919
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:09:47.665254','2015-10-28 20:09:47.665254','chartreuse'),('Howdy',20,'f','2015-10-28 20:09:47.665254','2015-10-28 20:09:47.665254','chartreuse')[0m
|
920
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings"
|
921
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
922
|
-
[1m[35m (0.1ms)[0m begin transaction
|
923
|
-
---------------------------------------------------------
|
924
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
925
|
-
---------------------------------------------------------
|
926
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:09:47.667102','2015-10-28 20:09:47.667102','chartreuse')[0m
|
927
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
928
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
929
|
-
--------------------------------------------------------
|
930
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
931
|
-
--------------------------------------------------------
|
932
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2015-10-28 20:09:47.668436','2015-10-28 20:09:47.668436','chartreuse'),('Hello',25,'t','2015-10-28 20:09:47.668436','2015-10-28 20:09:47.668436','chartreuse')
|
933
|
-
[1m[36mTesting Load (0.3ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
934
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
935
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
936
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
937
|
-
[1m[35m (0.1ms)[0m begin transaction
|
938
|
-
----------------------------------------------------------------------------------------------
|
939
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
940
|
-
----------------------------------------------------------------------------------------------
|
941
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:11:03.358340','2015-10-28 20:11:03.358340','chartreuse'),('Howdy',20,'f','2015-10-28 20:11:03.358340','2015-10-28 20:11:03.358340','chartreuse')[0m
|
942
|
-
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings"
|
943
|
-
[1m[36m (2.2ms)[0m [1mrollback transaction[0m
|
944
|
-
[1m[35m (0.1ms)[0m begin transaction
|
945
|
-
-------------------------------------------
|
946
|
-
BulkInsertWorkerTest: test_default_set_size
|
947
|
-
-------------------------------------------
|
948
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
949
|
-
[1m[35m (0.0ms)[0m begin transaction
|
950
|
-
-------------------------------------------------------------------
|
951
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
952
|
-
-------------------------------------------------------------------
|
953
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
954
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
955
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
956
|
-
[1m[35m (0.0ms)[0m begin transaction
|
957
|
-
---------------------------------------------------------------------
|
958
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
959
|
-
---------------------------------------------------------------------
|
960
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
961
|
-
[1m[35m (0.1ms)[0m begin transaction
|
962
|
-
------------------------------------------------------
|
963
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
964
|
-
------------------------------------------------------
|
965
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
966
|
-
[1m[35m (0.1ms)[0m begin transaction
|
967
|
-
----------------------------------------------------------------------------------
|
968
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
969
|
-
----------------------------------------------------------------------------------
|
970
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:11:03.381652','2015-10-28 20:11:03.381652','chartreuse')[0m
|
971
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
972
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
973
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
974
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
975
|
-
----------------------------------------------------------------
|
976
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
977
|
-
----------------------------------------------------------------
|
978
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2015-10-28 20:11:03.384868','2015-10-28 20:11:03.384868',NULL)
|
979
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
980
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
981
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
982
|
-
---------------------------------------------------------
|
983
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
984
|
-
---------------------------------------------------------
|
985
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:11:03.386677','2015-10-28 20:11:03.386677','chartreuse')
|
986
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
987
|
-
[1m[35m (0.1ms)[0m begin transaction
|
988
|
-
--------------------------------------------------------------------
|
989
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
990
|
-
--------------------------------------------------------------------
|
991
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
992
|
-
[1m[35m (0.1ms)[0m begin transaction
|
993
|
-
--------------------------------------------------------
|
994
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
995
|
-
--------------------------------------------------------
|
996
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2015-10-28 20:11:03.390135','2015-10-28 20:11:03.390135','chartreuse'),('Hello',25,'t','2015-10-28 20:11:03.390135','2015-10-28 20:11:03.390135','chartreuse')[0m
|
997
|
-
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
998
|
-
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
999
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1000
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1001
|
-
----------------------------------------------------------------------------
|
1002
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
1003
|
-
----------------------------------------------------------------------------
|
1004
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1005
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1006
|
-
----------------------------------------------------------------
|
1007
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1008
|
-
----------------------------------------------------------------
|
1009
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2015-10-28 20:11:03.398277','2015-10-28 20:11:03.398277','chartreuse')
|
1010
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1011
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1012
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1013
|
-
-------------------------------------------------------------------------------
|
1014
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1015
|
-
-------------------------------------------------------------------------------
|
1016
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:11:03.400450','2015-10-28 20:11:03.400450','chartreuse')
|
1017
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1018
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
1019
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1020
|
-
------------------------------------------------------------------------------
|
1021
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
1022
|
-
------------------------------------------------------------------------------
|
1023
|
-
[1m[35m (0.4ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2015-10-28 20:11:03.403756','2015-10-28 20:11:03.403756','chartreuse')
|
1024
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1025
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1026
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1027
|
-
------------------------------------------------------------------------------
|
1028
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
1029
|
-
------------------------------------------------------------------------------
|
1030
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1031
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1032
|
-
---------------------------------------------------------------
|
1033
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1034
|
-
---------------------------------------------------------------
|
1035
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1036
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1037
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1038
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1039
|
-
-----------------------------------------------------------------------------
|
1040
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
1041
|
-
-----------------------------------------------------------------------------
|
1042
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1043
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1044
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2015-10-28 20:11:03.408978','chartreuse'),('Hey',20,'f','2015-10-28 20:11:03.408978','2015-10-28 20:11:03.408978','chartreuse')
|
1045
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1046
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
1047
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1048
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1049
|
-
---------------------------------------------------------------------
|
1050
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1051
|
-
---------------------------------------------------------------------
|
1052
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1053
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1054
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2015-10-28 20:11:03.411309','2015-10-28 20:11:03.411309','chartreuse')[0m
|
1055
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1056
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1057
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1058
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1059
|
-
-------------------------------------------------------------------
|
1060
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1061
|
-
-------------------------------------------------------------------
|
1062
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1063
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1064
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1065
|
-
---------------------------------------------------------------------
|
1066
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
1067
|
-
---------------------------------------------------------------------
|
1068
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1069
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1070
|
-
----------------------------------------------------------------------------------
|
1071
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1072
|
-
----------------------------------------------------------------------------------
|
1073
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:12:47.479586','2015-10-28 20:12:47.479586','chartreuse')[0m
|
1074
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1075
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1076
|
-
[1m[35m (2.4ms)[0m rollback transaction
|
1077
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1078
|
-
-------------------------------------------------------------------
|
1079
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1080
|
-
-------------------------------------------------------------------
|
1081
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1082
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1083
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1084
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1085
|
-
--------------------------------------------------------
|
1086
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1087
|
-
--------------------------------------------------------
|
1088
|
-
[1m[35m (0.5ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2015-10-28 20:12:47.502465','2015-10-28 20:12:47.502465','chartreuse'),('Hello',25,'t','2015-10-28 20:12:47.502465','2015-10-28 20:12:47.502465','chartreuse')
|
1089
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
1090
|
-
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
1091
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1092
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1093
|
-
-------------------------------------------------------------------------------
|
1094
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1095
|
-
-------------------------------------------------------------------------------
|
1096
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:12:47.511412','2015-10-28 20:12:47.511412','chartreuse')[0m
|
1097
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1098
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1099
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1100
|
-
----------------------------------------------------------------------------------------------
|
1101
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
1102
|
-
----------------------------------------------------------------------------------------------
|
1103
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:12:47.514036','2015-10-28 20:12:47.514036','chartreuse'),('Howdy',20,'f','2015-10-28 20:12:47.514036','2015-10-28 20:12:47.514036','chartreuse')[0m
|
1104
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings"
|
1105
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1106
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1107
|
-
----------------------------------------------------------------
|
1108
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
1109
|
-
----------------------------------------------------------------
|
1110
|
-
[1m[36m (0.7ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2015-10-28 20:12:47.516777','2015-10-28 20:12:47.516777',NULL)[0m
|
1111
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1112
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1113
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1114
|
-
---------------------------------------------------------
|
1115
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1116
|
-
---------------------------------------------------------
|
1117
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:12:47.519576','2015-10-28 20:12:47.519576','chartreuse')[0m
|
1118
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1119
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1120
|
-
------------------------------------------------------------------------------
|
1121
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
1122
|
-
------------------------------------------------------------------------------
|
1123
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2015-10-28 20:12:47.521107','2015-10-28 20:12:47.521107','chartreuse')
|
1124
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1125
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
1126
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1127
|
-
----------------------------------------------------------------
|
1128
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1129
|
-
----------------------------------------------------------------
|
1130
|
-
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2015-10-28 20:12:47.522973','2015-10-28 20:12:47.522973','chartreuse')
|
1131
|
-
[1m[36mTesting Load (0.2ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1132
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
1133
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1134
|
-
----------------------------------------------------------------------------
|
1135
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
1136
|
-
----------------------------------------------------------------------------
|
1137
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1138
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1139
|
-
--------------------------------------------------------------------
|
1140
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1141
|
-
--------------------------------------------------------------------
|
1142
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1143
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1144
|
-
-------------------------------------------
|
1145
|
-
BulkInsertWorkerTest: test_default_set_size
|
1146
|
-
-------------------------------------------
|
1147
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1148
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1149
|
-
------------------------------------------------------
|
1150
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1151
|
-
------------------------------------------------------
|
1152
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1153
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1154
|
-
-----------------------------------------------------------------------------
|
1155
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
1156
|
-
-----------------------------------------------------------------------------
|
1157
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1158
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1159
|
-
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2015-10-28 20:12:47.530685','chartreuse'),('Hey',20,'f','2015-10-28 20:12:47.530685','2015-10-28 20:12:47.530685','chartreuse')
|
1160
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1161
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1162
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1163
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1164
|
-
---------------------------------------------------------------------
|
1165
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1166
|
-
---------------------------------------------------------------------
|
1167
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1168
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1169
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2015-10-28 20:12:47.533152','2015-10-28 20:12:47.533152','chartreuse')[0m
|
1170
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1171
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1172
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1173
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1174
|
-
-------------------------------------------------------------------
|
1175
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1176
|
-
-------------------------------------------------------------------
|
1177
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1178
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1179
|
-
---------------------------------------------------------------
|
1180
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1181
|
-
---------------------------------------------------------------
|
1182
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1183
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1184
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1185
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1186
|
-
------------------------------------------------------------------------------
|
1187
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
1188
|
-
------------------------------------------------------------------------------
|
1189
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1190
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1191
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1192
|
-
-----------------------------------------------------------------------------
|
1193
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
1194
|
-
-----------------------------------------------------------------------------
|
1195
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1196
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1197
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2015-10-28 20:13:22.448075','chartreuse'),('Hey',20,'f','2015-10-28 20:13:22.448075','2015-10-28 20:13:22.448075','chartreuse')[0m
|
1198
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1199
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1200
|
-
[1m[35m (2.0ms)[0m rollback transaction
|
1201
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1202
|
-
------------------------------------------------------------------------------
|
1203
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
1204
|
-
------------------------------------------------------------------------------
|
1205
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1206
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1207
|
-
---------------------------------------------------------------------
|
1208
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1209
|
-
---------------------------------------------------------------------
|
1210
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1211
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1212
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2015-10-28 20:13:22.454687','2015-10-28 20:13:22.454687','chartreuse')
|
1213
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1214
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
1215
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1216
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1217
|
-
-------------------------------------------------------------------
|
1218
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1219
|
-
-------------------------------------------------------------------
|
1220
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1221
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1222
|
-
---------------------------------------------------------------
|
1223
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1224
|
-
---------------------------------------------------------------
|
1225
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1226
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1227
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1228
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1229
|
-
---------------------------------------------------------------------
|
1230
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
1231
|
-
---------------------------------------------------------------------
|
1232
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1233
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1234
|
-
---------------------------------------------------------
|
1235
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1236
|
-
---------------------------------------------------------
|
1237
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:13:22.460810','2015-10-28 20:13:22.460810','chartreuse')[0m
|
1238
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
1239
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1240
|
-
----------------------------------------------------------------
|
1241
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1242
|
-
----------------------------------------------------------------
|
1243
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2015-10-28 20:13:22.462862','2015-10-28 20:13:22.462862','chartreuse')
|
1244
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1245
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
1246
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1247
|
-
-------------------------------------------------------------------------------
|
1248
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1249
|
-
-------------------------------------------------------------------------------
|
1250
|
-
[1m[35m (0.4ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:13:22.479273','2015-10-28 20:13:22.479273','chartreuse')
|
1251
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1252
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1253
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1254
|
-
----------------------------------------------------------------------------------------------
|
1255
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
1256
|
-
----------------------------------------------------------------------------------------------
|
1257
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:13:22.481957','2015-10-28 20:13:22.481957','chartreuse'),('Howdy',20,'f','2015-10-28 20:13:22.481957','2015-10-28 20:13:22.481957','chartreuse')
|
1258
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings"[0m
|
1259
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1260
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1261
|
-
-------------------------------------------------------------------
|
1262
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1263
|
-
-------------------------------------------------------------------
|
1264
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1265
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1266
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1267
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1268
|
-
----------------------------------------------------------------
|
1269
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
1270
|
-
----------------------------------------------------------------
|
1271
|
-
[1m[35m (0.4ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2015-10-28 20:13:22.486828','2015-10-28 20:13:22.486828',NULL)
|
1272
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1273
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1274
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1275
|
-
--------------------------------------------------------------------
|
1276
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1277
|
-
--------------------------------------------------------------------
|
1278
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1279
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1280
|
-
------------------------------------------------------
|
1281
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1282
|
-
------------------------------------------------------
|
1283
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1284
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1285
|
-
-------------------------------------------
|
1286
|
-
BulkInsertWorkerTest: test_default_set_size
|
1287
|
-
-------------------------------------------
|
1288
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1289
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1290
|
-
--------------------------------------------------------
|
1291
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1292
|
-
--------------------------------------------------------
|
1293
|
-
[1m[35m (0.4ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2015-10-28 20:13:22.491382','2015-10-28 20:13:22.491382','chartreuse'),('Hello',25,'t','2015-10-28 20:13:22.491382','2015-10-28 20:13:22.491382','chartreuse')
|
1294
|
-
[1m[36mTesting Load (0.2ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
1295
|
-
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
1296
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1297
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1298
|
-
------------------------------------------------------------------------------
|
1299
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
1300
|
-
------------------------------------------------------------------------------
|
1301
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2015-10-28 20:13:22.498646','2015-10-28 20:13:22.498646','chartreuse')[0m
|
1302
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1303
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1304
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1305
|
-
----------------------------------------------------------------------------------
|
1306
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1307
|
-
----------------------------------------------------------------------------------
|
1308
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2015-10-28 20:13:22.500561','2015-10-28 20:13:22.500561','chartreuse')[0m
|
1309
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1310
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1311
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1312
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1313
|
-
----------------------------------------------------------------------------
|
1314
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
1315
|
-
----------------------------------------------------------------------------
|
1316
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1317
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1318
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1319
|
-
--------------------------------------------------------
|
1320
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1321
|
-
--------------------------------------------------------
|
1322
|
-
[1m[36m (1.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-03-20 19:58:37.248792','2016-03-20 19:58:37.248792','chartreuse'),('Hello',25,'t','2016-03-20 19:58:37.248792','2016-03-20 19:58:37.248792','chartreuse')[0m
|
1323
|
-
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
1324
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
1325
|
-
[1m[35m (0.8ms)[0m rollback transaction
|
1326
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1327
|
-
---------------------------------------------------------------------
|
1328
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
1329
|
-
---------------------------------------------------------------------
|
1330
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1331
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1332
|
-
----------------------------------------------------------------------------------------------
|
1333
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
1334
|
-
----------------------------------------------------------------------------------------------
|
1335
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-03-20 19:58:37.266113','2016-03-20 19:58:37.266113','chartreuse'),('Howdy',20,'f','2016-03-20 19:58:37.266113','2016-03-20 19:58:37.266113','chartreuse')
|
1336
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings"[0m
|
1337
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1338
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1339
|
-
--------------------------------------------------------------------
|
1340
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1341
|
-
--------------------------------------------------------------------
|
1342
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1343
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1344
|
-
------------------------------------------------------------------------------
|
1345
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
1346
|
-
------------------------------------------------------------------------------
|
1347
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-03-20 19:58:37.268988','2016-03-20 19:58:37.268988','chartreuse')
|
1348
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1349
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1350
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1351
|
-
---------------------------------------------------------
|
1352
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1353
|
-
---------------------------------------------------------
|
1354
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-03-20 19:58:37.270984','2016-03-20 19:58:37.270984','chartreuse')
|
1355
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1356
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1357
|
-
-------------------------------------------
|
1358
|
-
BulkInsertWorkerTest: test_default_set_size
|
1359
|
-
-------------------------------------------
|
1360
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1361
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1362
|
-
----------------------------------------------------------------
|
1363
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
1364
|
-
----------------------------------------------------------------
|
1365
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-03-20 19:58:37.273126','2016-03-20 19:58:37.273126',NULL)[0m
|
1366
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1367
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1368
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1369
|
-
----------------------------------------------------------------------------------
|
1370
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1371
|
-
----------------------------------------------------------------------------------
|
1372
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-03-20 19:58:37.275191','2016-03-20 19:58:37.275191','chartreuse')[0m
|
1373
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1374
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1375
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1376
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1377
|
-
-------------------------------------------------------------------
|
1378
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1379
|
-
-------------------------------------------------------------------
|
1380
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1381
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1382
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1383
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1384
|
-
----------------------------------------------------------------
|
1385
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1386
|
-
----------------------------------------------------------------
|
1387
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-03-20 19:58:37.279127','2016-03-20 19:58:37.279127','chartreuse')
|
1388
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1389
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
1390
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1391
|
-
-------------------------------------------------------------------------------
|
1392
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1393
|
-
-------------------------------------------------------------------------------
|
1394
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-03-20 19:58:37.282420','2016-03-20 19:58:37.282420','chartreuse')
|
1395
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1396
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
1397
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1398
|
-
----------------------------------------------------------------------------
|
1399
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
1400
|
-
----------------------------------------------------------------------------
|
1401
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1402
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1403
|
-
------------------------------------------------------
|
1404
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1405
|
-
------------------------------------------------------
|
1406
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1407
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1408
|
-
-------------------------------------------------------------------
|
1409
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1410
|
-
-------------------------------------------------------------------
|
1411
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1412
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1413
|
-
-----------------------------------------------------------------------------
|
1414
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
1415
|
-
-----------------------------------------------------------------------------
|
1416
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "testings"
|
1417
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1418
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-03-20 19:58:37.290869','chartreuse'),('Hey',20,'f','2016-03-20 19:58:37.290869','2016-03-20 19:58:37.290869','chartreuse')
|
1419
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1420
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
1421
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1422
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1423
|
-
---------------------------------------------------------------
|
1424
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1425
|
-
---------------------------------------------------------------
|
1426
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1427
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1428
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1429
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1430
|
-
------------------------------------------------------------------------------
|
1431
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
1432
|
-
------------------------------------------------------------------------------
|
1433
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1434
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1435
|
-
---------------------------------------------------------------------
|
1436
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1437
|
-
---------------------------------------------------------------------
|
1438
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1439
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1440
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-03-20 19:58:37.296764','2016-03-20 19:58:37.296764','chartreuse')[0m
|
1441
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1442
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1443
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1444
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1445
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1446
|
-
----------------------------------------------------------------------------
|
1447
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
1448
|
-
----------------------------------------------------------------------------
|
1449
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1450
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1451
|
-
---------------------------------------------------------------------
|
1452
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
1453
|
-
---------------------------------------------------------------------
|
1454
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1455
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1456
|
-
--------------------------------------------------------
|
1457
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1458
|
-
--------------------------------------------------------
|
1459
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-03-20 19:59:08.351204','2016-03-20 19:59:08.351204','chartreuse'),('Hello',25,'t','2016-03-20 19:59:08.351204','2016-03-20 19:59:08.351204','chartreuse')[0m
|
1460
|
-
[1m[35mTesting Load (0.3ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
1461
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
1462
|
-
[1m[35m (2.4ms)[0m rollback transaction
|
1463
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1464
|
-
------------------------------------------------------
|
1465
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1466
|
-
------------------------------------------------------
|
1467
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1468
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1469
|
-
--------------------------------------------------------------------
|
1470
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1471
|
-
--------------------------------------------------------------------
|
1472
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1473
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1474
|
-
----------------------------------------------------------------------------------------------
|
1475
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
1476
|
-
----------------------------------------------------------------------------------------------
|
1477
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-03-20 19:59:08.369272','2016-03-20 19:59:08.369272','chartreuse'),('Howdy',20,'f','2016-03-20 19:59:08.369272','2016-03-20 19:59:08.369272','chartreuse')
|
1478
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings"[0m
|
1479
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
1480
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1481
|
-
-------------------------------------------
|
1482
|
-
BulkInsertWorkerTest: test_default_set_size
|
1483
|
-
-------------------------------------------
|
1484
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1485
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1486
|
-
------------------------------------------------------------------------------
|
1487
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
1488
|
-
------------------------------------------------------------------------------
|
1489
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-03-20 19:59:08.372173','2016-03-20 19:59:08.372173','chartreuse')
|
1490
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1491
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1492
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1493
|
-
----------------------------------------------------------------------------------
|
1494
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1495
|
-
----------------------------------------------------------------------------------
|
1496
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-03-20 19:59:08.374123','2016-03-20 19:59:08.374123','chartreuse')
|
1497
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1498
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1499
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1500
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1501
|
-
-------------------------------------------------------------------------------
|
1502
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1503
|
-
-------------------------------------------------------------------------------
|
1504
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-03-20 19:59:08.376668','2016-03-20 19:59:08.376668','chartreuse')[0m
|
1505
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1506
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1507
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1508
|
-
-------------------------------------------------------------------
|
1509
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1510
|
-
-------------------------------------------------------------------
|
1511
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1512
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
1513
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1514
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1515
|
-
----------------------------------------------------------------
|
1516
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1517
|
-
----------------------------------------------------------------
|
1518
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-03-20 19:59:08.380222','2016-03-20 19:59:08.380222','chartreuse')[0m
|
1519
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1520
|
-
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
1521
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1522
|
-
---------------------------------------------------------
|
1523
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1524
|
-
---------------------------------------------------------
|
1525
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-03-20 19:59:08.383364','2016-03-20 19:59:08.383364','chartreuse')[0m
|
1526
|
-
[1m[35m (0.6ms)[0m rollback transaction
|
1527
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1528
|
-
----------------------------------------------------------------
|
1529
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
1530
|
-
----------------------------------------------------------------
|
1531
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-03-20 19:59:08.385585','2016-03-20 19:59:08.385585',NULL)
|
1532
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1533
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
1534
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1535
|
-
-------------------------------------------------------------------
|
1536
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1537
|
-
-------------------------------------------------------------------
|
1538
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1539
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1540
|
-
---------------------------------------------------------------------
|
1541
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1542
|
-
---------------------------------------------------------------------
|
1543
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1544
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1545
|
-
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-03-20 19:59:08.391123','2016-03-20 19:59:08.391123','chartreuse')
|
1546
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1547
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1548
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1549
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1550
|
-
-----------------------------------------------------------------------------
|
1551
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
1552
|
-
-----------------------------------------------------------------------------
|
1553
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1554
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1555
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-03-20 19:59:08.394761','chartreuse'),('Hey',20,'f','2016-03-20 19:59:08.394761','2016-03-20 19:59:08.394761','chartreuse')[0m
|
1556
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1557
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1558
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
1559
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1560
|
-
---------------------------------------------------------------
|
1561
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1562
|
-
---------------------------------------------------------------
|
1563
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1564
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1565
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1566
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1567
|
-
------------------------------------------------------------------------------
|
1568
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
1569
|
-
------------------------------------------------------------------------------
|
1570
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1571
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1572
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1573
|
-
------------------------------------------------------------------------------
|
1574
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
1575
|
-
------------------------------------------------------------------------------
|
1576
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1577
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1578
|
-
---------------------------------------------------------------------
|
1579
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1580
|
-
---------------------------------------------------------------------
|
1581
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1582
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1583
|
-
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-05-03 16:36:29.664634','2016-05-03 16:36:29.664634','chartreuse')[0m
|
1584
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1585
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1586
|
-
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
1587
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1588
|
-
---------------------------------------------------------------
|
1589
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1590
|
-
---------------------------------------------------------------
|
1591
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1592
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1593
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1594
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1595
|
-
-----------------------------------------------------------------------------
|
1596
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
1597
|
-
-----------------------------------------------------------------------------
|
1598
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1599
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1600
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-05-03 16:36:29.672404','chartreuse'),('Hey',20,'f','2016-05-03 16:36:29.672404','2016-05-03 16:36:29.672404','chartreuse')[0m
|
1601
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1602
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1603
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1604
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1605
|
-
-------------------------------------------------------------------
|
1606
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1607
|
-
-------------------------------------------------------------------
|
1608
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1609
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1610
|
-
--------------------------------------------------------------------
|
1611
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1612
|
-
--------------------------------------------------------------------
|
1613
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1614
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1615
|
-
----------------------------------------------------------------
|
1616
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
1617
|
-
----------------------------------------------------------------
|
1618
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:36:29.677247','2016-05-03 16:36:29.677247',NULL)[0m
|
1619
|
-
[1m[36mTesting Load (0.2ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1620
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1621
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1622
|
-
------------------------------------------------------
|
1623
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1624
|
-
------------------------------------------------------
|
1625
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1626
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1627
|
-
-------------------------------------------
|
1628
|
-
BulkInsertWorkerTest: test_default_set_size
|
1629
|
-
-------------------------------------------
|
1630
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1631
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1632
|
-
-------------------------------------------------------------------
|
1633
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1634
|
-
-------------------------------------------------------------------
|
1635
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1636
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1637
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1638
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1639
|
-
--------------------------------------------------------
|
1640
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1641
|
-
--------------------------------------------------------
|
1642
|
-
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-05-03 16:36:29.689397','2016-05-03 16:36:29.689397','chartreuse'),('Hello',25,'t','2016-05-03 16:36:29.689397','2016-05-03 16:36:29.689397','chartreuse')[0m
|
1643
|
-
[1m[36mTesting Load (0.2ms)[0m [1m[34mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT ?[0m [["greeting", "Yo"], ["LIMIT", 1]]
|
1644
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT ?[0m [["greeting", "Hello"], ["LIMIT", 1]]
|
1645
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1646
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1647
|
-
----------------------------------------------------------------
|
1648
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1649
|
-
----------------------------------------------------------------
|
1650
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-05-03 16:36:29.697424','2016-05-03 16:36:29.697424','chartreuse')[0m
|
1651
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1652
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1653
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1654
|
-
----------------------------------------------------------------------------
|
1655
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
1656
|
-
----------------------------------------------------------------------------
|
1657
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1658
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1659
|
-
-------------------------------------------------------------------------------
|
1660
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1661
|
-
-------------------------------------------------------------------------------
|
1662
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:36:29.702504','2016-05-03 16:36:29.702504','chartreuse')[0m
|
1663
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1664
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1665
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1666
|
-
---------------------------------------------------------------------
|
1667
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
1668
|
-
---------------------------------------------------------------------
|
1669
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1670
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1671
|
-
----------------------------------------------------------------------------------
|
1672
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1673
|
-
----------------------------------------------------------------------------------
|
1674
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:36:29.706093','2016-05-03 16:36:29.706093','chartreuse')[0m
|
1675
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1676
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1677
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1678
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1679
|
-
----------------------------------------------------------------------------------------------
|
1680
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
1681
|
-
----------------------------------------------------------------------------------------------
|
1682
|
-
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:36:29.709530','2016-05-03 16:36:29.709530','chartreuse'),('Howdy',20,'f','2016-05-03 16:36:29.709530','2016-05-03 16:36:29.709530','chartreuse')[0m
|
1683
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings"[0m
|
1684
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1685
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1686
|
-
---------------------------------------------------------
|
1687
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1688
|
-
---------------------------------------------------------
|
1689
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:36:29.712302','2016-05-03 16:36:29.712302','chartreuse')[0m
|
1690
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1691
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1692
|
-
------------------------------------------------------------------------------
|
1693
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
1694
|
-
------------------------------------------------------------------------------
|
1695
|
-
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:36:29.714090','2016-05-03 16:36:29.714090','chartreuse')[0m
|
1696
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1697
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1698
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1699
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1700
|
-
--------------------------------------------------------
|
1701
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1702
|
-
--------------------------------------------------------
|
1703
|
-
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-05-03 16:39:10.769501','2016-05-03 16:39:10.769501','chartreuse'),('Hello',25,'t','2016-05-03 16:39:10.769501','2016-05-03 16:39:10.769501','chartreuse')[0m
|
1704
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT ?[0m [["greeting", "Yo"], ["LIMIT", 1]]
|
1705
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT ?[0m [["greeting", "Hello"], ["LIMIT", 1]]
|
1706
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1707
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1708
|
-
------------------------------------------------------------------------------
|
1709
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
1710
|
-
------------------------------------------------------------------------------
|
1711
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:39:10.786277','2016-05-03 16:39:10.786277','chartreuse')[0m
|
1712
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1713
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1714
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1715
|
-
----------------------------------------------------------------
|
1716
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1717
|
-
----------------------------------------------------------------
|
1718
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-05-03 16:39:10.788623','2016-05-03 16:39:10.788623','chartreuse')[0m
|
1719
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1720
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1721
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1722
|
-
--------------------------------------------------------------------
|
1723
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1724
|
-
--------------------------------------------------------------------
|
1725
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1726
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1727
|
-
------------------------------------------------------
|
1728
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1729
|
-
------------------------------------------------------
|
1730
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1731
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1732
|
-
----------------------------------------------------------------
|
1733
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
1734
|
-
----------------------------------------------------------------
|
1735
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:39:10.792429','2016-05-03 16:39:10.792429',NULL)[0m
|
1736
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1737
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1738
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1739
|
-
---------------------------------------------------------------------
|
1740
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
1741
|
-
---------------------------------------------------------------------
|
1742
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1743
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1744
|
-
-------------------------------------------
|
1745
|
-
BulkInsertWorkerTest: test_default_set_size
|
1746
|
-
-------------------------------------------
|
1747
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1748
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1749
|
-
-------------------------------------------------------------------------------
|
1750
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1751
|
-
-------------------------------------------------------------------------------
|
1752
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:39:10.796526','2016-05-03 16:39:10.796526','chartreuse')[0m
|
1753
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1754
|
-
[1m[35m (1.6ms)[0m [1m[31mrollback transaction[0m
|
1755
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1756
|
-
-------------------------------------------------------------------
|
1757
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1758
|
-
-------------------------------------------------------------------
|
1759
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1760
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1761
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1762
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1763
|
-
----------------------------------------------------------------------------------------------
|
1764
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
1765
|
-
----------------------------------------------------------------------------------------------
|
1766
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:39:10.802575','2016-05-03 16:39:10.802575','chartreuse'),('Howdy',20,'f','2016-05-03 16:39:10.802575','2016-05-03 16:39:10.802575','chartreuse')[0m
|
1767
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings"[0m
|
1768
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1769
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1770
|
-
---------------------------------------------------------
|
1771
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1772
|
-
---------------------------------------------------------
|
1773
|
-
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:39:10.805335','2016-05-03 16:39:10.805335','chartreuse')[0m
|
1774
|
-
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
1775
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1776
|
-
----------------------------------------------------------------------------
|
1777
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
1778
|
-
----------------------------------------------------------------------------
|
1779
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1780
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1781
|
-
----------------------------------------------------------------------------------
|
1782
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1783
|
-
----------------------------------------------------------------------------------
|
1784
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:39:10.809202','2016-05-03 16:39:10.809202','chartreuse')[0m
|
1785
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1786
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1787
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1788
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1789
|
-
---------------------------------------------------------------
|
1790
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1791
|
-
---------------------------------------------------------------
|
1792
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1793
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1794
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1795
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1796
|
-
-------------------------------------------------------------------
|
1797
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1798
|
-
-------------------------------------------------------------------
|
1799
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1800
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1801
|
-
------------------------------------------------------------------------------
|
1802
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
1803
|
-
------------------------------------------------------------------------------
|
1804
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1805
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1806
|
-
-----------------------------------------------------------------------------
|
1807
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
1808
|
-
-----------------------------------------------------------------------------
|
1809
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1810
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1811
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-05-03 16:39:10.815115','chartreuse'),('Hey',20,'f','2016-05-03 16:39:10.815115','2016-05-03 16:39:10.815115','chartreuse')[0m
|
1812
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1813
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1814
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1815
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1816
|
-
---------------------------------------------------------------------
|
1817
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1818
|
-
---------------------------------------------------------------------
|
1819
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1820
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1821
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-05-03 16:39:10.817715','2016-05-03 16:39:10.817715','chartreuse')[0m
|
1822
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1823
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1824
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1825
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1826
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1827
|
-
------------------------------------------------------
|
1828
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1829
|
-
------------------------------------------------------
|
1830
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1831
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1832
|
-
----------------------------------------------------------------
|
1833
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1834
|
-
----------------------------------------------------------------
|
1835
|
-
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-05-03 16:39:23.433773','2016-05-03 16:39:23.433773','chartreuse')[0m
|
1836
|
-
[1m[36mTesting Load (0.2ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1837
|
-
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
1838
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1839
|
-
----------------------------------------------------------------------------
|
1840
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
1841
|
-
----------------------------------------------------------------------------
|
1842
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1843
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1844
|
-
---------------------------------------------------------
|
1845
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1846
|
-
---------------------------------------------------------
|
1847
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:39:23.451750','2016-05-03 16:39:23.451750','chartreuse')[0m
|
1848
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1849
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1850
|
-
--------------------------------------------------------------------
|
1851
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1852
|
-
--------------------------------------------------------------------
|
1853
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1854
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1855
|
-
------------------------------------------------------------------------------
|
1856
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
1857
|
-
------------------------------------------------------------------------------
|
1858
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:39:23.454387','2016-05-03 16:39:23.454387','chartreuse')[0m
|
1859
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1860
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1861
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1862
|
-
--------------------------------------------------------
|
1863
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1864
|
-
--------------------------------------------------------
|
1865
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-05-03 16:39:23.456532','2016-05-03 16:39:23.456532','chartreuse'),('Hello',25,'t','2016-05-03 16:39:23.456532','2016-05-03 16:39:23.456532','chartreuse')[0m
|
1866
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT ?[0m [["greeting", "Yo"], ["LIMIT", 1]]
|
1867
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT ?[0m [["greeting", "Hello"], ["LIMIT", 1]]
|
1868
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1869
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1870
|
-
-------------------------------------------------------------------
|
1871
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1872
|
-
-------------------------------------------------------------------
|
1873
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1874
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1875
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1876
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1877
|
-
----------------------------------------------------------------------------------------------
|
1878
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
1879
|
-
----------------------------------------------------------------------------------------------
|
1880
|
-
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:39:23.464302','2016-05-03 16:39:23.464302','chartreuse'),('Howdy',20,'f','2016-05-03 16:39:23.464302','2016-05-03 16:39:23.464302','chartreuse')[0m
|
1881
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings"[0m
|
1882
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1883
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1884
|
-
---------------------------------------------------------------------
|
1885
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
1886
|
-
---------------------------------------------------------------------
|
1887
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1888
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1889
|
-
-------------------------------------------------------------------------------
|
1890
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1891
|
-
-------------------------------------------------------------------------------
|
1892
|
-
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:39:23.468512','2016-05-03 16:39:23.468512','chartreuse')[0m
|
1893
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1894
|
-
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
1895
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1896
|
-
----------------------------------------------------------------
|
1897
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
1898
|
-
----------------------------------------------------------------
|
1899
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:39:23.472343','2016-05-03 16:39:23.472343',NULL)[0m
|
1900
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1901
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1902
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1903
|
-
----------------------------------------------------------------------------------
|
1904
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1905
|
-
----------------------------------------------------------------------------------
|
1906
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:39:23.474575','2016-05-03 16:39:23.474575','chartreuse')[0m
|
1907
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1908
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1909
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1910
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1911
|
-
-------------------------------------------
|
1912
|
-
BulkInsertWorkerTest: test_default_set_size
|
1913
|
-
-------------------------------------------
|
1914
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1915
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1916
|
-
---------------------------------------------------------------
|
1917
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1918
|
-
---------------------------------------------------------------
|
1919
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1920
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1921
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1922
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1923
|
-
---------------------------------------------------------------------
|
1924
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1925
|
-
---------------------------------------------------------------------
|
1926
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1927
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1928
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-05-03 16:39:23.481996','2016-05-03 16:39:23.481996','chartreuse')[0m
|
1929
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1930
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1931
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1932
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1933
|
-
-----------------------------------------------------------------------------
|
1934
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
1935
|
-
-----------------------------------------------------------------------------
|
1936
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1937
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1938
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-05-03 16:39:23.484623','chartreuse'),('Hey',20,'f','2016-05-03 16:39:23.484623','2016-05-03 16:39:23.484623','chartreuse')[0m
|
1939
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1940
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1941
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1942
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1943
|
-
-------------------------------------------------------------------
|
1944
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1945
|
-
-------------------------------------------------------------------
|
1946
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1947
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1948
|
-
------------------------------------------------------------------------------
|
1949
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
1950
|
-
------------------------------------------------------------------------------
|
1951
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1952
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1953
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1954
|
-
---------------------------------------------------------------------
|
1955
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1956
|
-
---------------------------------------------------------------------
|
1957
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1958
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1959
|
-
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-05-03 16:39:45.521788','2016-05-03 16:39:45.521788','chartreuse')[0m
|
1960
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1961
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1962
|
-
[1m[35m (2.1ms)[0m [1m[31mrollback transaction[0m
|
1963
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1964
|
-
------------------------------------------------------------------------------
|
1965
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
1966
|
-
------------------------------------------------------------------------------
|
1967
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1968
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1969
|
-
-------------------------------------------------------------------
|
1970
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1971
|
-
-------------------------------------------------------------------
|
1972
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1973
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1974
|
-
---------------------------------------------------------------
|
1975
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1976
|
-
---------------------------------------------------------------
|
1977
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1978
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1979
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1980
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1981
|
-
-----------------------------------------------------------------------------
|
1982
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
1983
|
-
-----------------------------------------------------------------------------
|
1984
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1985
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1986
|
-
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-05-03 16:39:45.534044','chartreuse'),('Hey',20,'f','2016-05-03 16:39:45.534044','2016-05-03 16:39:45.534044','chartreuse')[0m
|
1987
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1988
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
1989
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1990
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1991
|
-
-------------------------------------------------------------------------------
|
1992
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1993
|
-
-------------------------------------------------------------------------------
|
1994
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:39:45.538220','2016-05-03 16:39:45.538220','chartreuse')[0m
|
1995
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
1996
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1997
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1998
|
-
------------------------------------------------------
|
1999
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
2000
|
-
------------------------------------------------------
|
2001
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2002
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2003
|
-
----------------------------------------------------------------------------------
|
2004
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
2005
|
-
----------------------------------------------------------------------------------
|
2006
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:39:45.547445','2016-05-03 16:39:45.547445','chartreuse')[0m
|
2007
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
2008
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
2009
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
2010
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2011
|
-
--------------------------------------------------------
|
2012
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
2013
|
-
--------------------------------------------------------
|
2014
|
-
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-05-03 16:39:45.550550','2016-05-03 16:39:45.550550','chartreuse'),('Hello',25,'t','2016-05-03 16:39:45.550550','2016-05-03 16:39:45.550550','chartreuse')[0m
|
2015
|
-
[1m[36mTesting Load (0.2ms)[0m [1m[34mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT ?[0m [["greeting", "Yo"], ["LIMIT", 1]]
|
2016
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT ?[0m [["greeting", "Hello"], ["LIMIT", 1]]
|
2017
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2018
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2019
|
-
--------------------------------------------------------------------
|
2020
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
2021
|
-
--------------------------------------------------------------------
|
2022
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2023
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2024
|
-
---------------------------------------------------------
|
2025
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
2026
|
-
---------------------------------------------------------
|
2027
|
-
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:39:45.558298','2016-05-03 16:39:45.558298','chartreuse')[0m
|
2028
|
-
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
2029
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2030
|
-
-------------------------------------------------------------------
|
2031
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
2032
|
-
-------------------------------------------------------------------
|
2033
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
2034
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
2035
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2036
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2037
|
-
---------------------------------------------------------------------
|
2038
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
2039
|
-
---------------------------------------------------------------------
|
2040
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2041
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2042
|
-
----------------------------------------------------------------
|
2043
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
2044
|
-
----------------------------------------------------------------
|
2045
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:39:45.563556','2016-05-03 16:39:45.563556',NULL)[0m
|
2046
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
2047
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2048
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2049
|
-
------------------------------------------------------------------------------
|
2050
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
2051
|
-
------------------------------------------------------------------------------
|
2052
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:39:45.565691','2016-05-03 16:39:45.565691','chartreuse')[0m
|
2053
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
2054
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2055
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2056
|
-
----------------------------------------------------------------------------------------------
|
2057
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
2058
|
-
----------------------------------------------------------------------------------------------
|
2059
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:39:45.568050','2016-05-03 16:39:45.568050','chartreuse'),('Howdy',20,'f','2016-05-03 16:39:45.568050','2016-05-03 16:39:45.568050','chartreuse')[0m
|
2060
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings"[0m
|
2061
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2062
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2063
|
-
----------------------------------------------------------------
|
2064
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
2065
|
-
----------------------------------------------------------------
|
2066
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-05-03 16:39:45.570485','2016-05-03 16:39:45.570485','chartreuse')[0m
|
2067
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
2068
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2069
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2070
|
-
----------------------------------------------------------------------------
|
2071
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
2072
|
-
----------------------------------------------------------------------------
|
2073
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2074
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2075
|
-
-------------------------------------------
|
2076
|
-
BulkInsertWorkerTest: test_default_set_size
|
2077
|
-
-------------------------------------------
|
2078
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2079
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2080
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2081
|
-
---------------------------------------------------------------------
|
2082
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
2083
|
-
---------------------------------------------------------------------
|
2084
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2085
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2086
|
-
-------------------------------------------------------------------
|
2087
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
2088
|
-
-------------------------------------------------------------------
|
2089
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2090
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
2091
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2092
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2093
|
-
---------------------------------------------------------
|
2094
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
2095
|
-
---------------------------------------------------------
|
2096
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:42:31.670107','2016-05-03 16:42:31.670107','chartreuse')[0m
|
2097
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2098
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2099
|
-
------------------------------------------------------------------------------
|
2100
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
2101
|
-
------------------------------------------------------------------------------
|
2102
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:42:31.674139','2016-05-03 16:42:31.674139','chartreuse')
|
2103
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2104
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
2105
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2106
|
-
----------------------------------------------------------------
|
2107
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
2108
|
-
----------------------------------------------------------------
|
2109
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-05-03 16:42:31.681855','2016-05-03 16:42:31.681855','chartreuse')
|
2110
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2111
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
2112
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2113
|
-
------------------------------------------------------
|
2114
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
2115
|
-
------------------------------------------------------
|
2116
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2117
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2118
|
-
-------------------------------------------
|
2119
|
-
BulkInsertWorkerTest: test_default_set_size
|
2120
|
-
-------------------------------------------
|
2121
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2122
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2123
|
-
----------------------------------------------------------------
|
2124
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
2125
|
-
----------------------------------------------------------------
|
2126
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:42:31.685669','2016-05-03 16:42:31.685669',NULL)
|
2127
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2128
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2129
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2130
|
-
----------------------------------------------------------------------------
|
2131
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
2132
|
-
----------------------------------------------------------------------------
|
2133
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2134
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2135
|
-
----------------------------------------------------------------------------------------------
|
2136
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
2137
|
-
----------------------------------------------------------------------------------------------
|
2138
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:42:31.688225','2016-05-03 16:42:31.688225','chartreuse'),('Howdy',20,'f','2016-05-03 16:42:31.688225','2016-05-03 16:42:31.688225','chartreuse')
|
2139
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings"[0m
|
2140
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2141
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2142
|
-
----------------------------------------------------------------------------------
|
2143
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
2144
|
-
----------------------------------------------------------------------------------
|
2145
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:42:31.690240','2016-05-03 16:42:31.690240','chartreuse')
|
2146
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2147
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
2148
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2149
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2150
|
-
--------------------------------------------------------------------
|
2151
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
2152
|
-
--------------------------------------------------------------------
|
2153
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2154
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2155
|
-
-------------------------------------------------------------------------------
|
2156
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
2157
|
-
-------------------------------------------------------------------------------
|
2158
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:42:31.693189','2016-05-03 16:42:31.693189','chartreuse')[0m
|
2159
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
2160
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2161
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2162
|
-
--------------------------------------------------------
|
2163
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
2164
|
-
--------------------------------------------------------
|
2165
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-05-03 16:42:31.695730','2016-05-03 16:42:31.695730','chartreuse'),('Hello',25,'t','2016-05-03 16:42:31.695730','2016-05-03 16:42:31.695730','chartreuse')[0m
|
2166
|
-
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
2167
|
-
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
2168
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2169
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2170
|
-
------------------------------------------------------------------------------
|
2171
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
2172
|
-
------------------------------------------------------------------------------
|
2173
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2174
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2175
|
-
---------------------------------------------------------------------
|
2176
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
2177
|
-
---------------------------------------------------------------------
|
2178
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
2179
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2180
|
-
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-05-03 16:42:31.706689','2016-05-03 16:42:31.706689','chartreuse')
|
2181
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2182
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
2183
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2184
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2185
|
-
-------------------------------------------------------------------
|
2186
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
2187
|
-
-------------------------------------------------------------------
|
2188
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2189
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2190
|
-
-----------------------------------------------------------------------------
|
2191
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
2192
|
-
-----------------------------------------------------------------------------
|
2193
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2194
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2195
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-05-03 16:42:31.710916','chartreuse'),('Hey',20,'f','2016-05-03 16:42:31.710916','2016-05-03 16:42:31.710916','chartreuse')[0m
|
2196
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2197
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2198
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2199
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2200
|
-
---------------------------------------------------------------
|
2201
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
2202
|
-
---------------------------------------------------------------
|
2203
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2204
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2205
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2206
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2207
|
-
[1m[35m (0.2ms)[0m begin transaction
|
2208
|
-
---------------------------------------------------------------------
|
2209
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
2210
|
-
---------------------------------------------------------------------
|
2211
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2212
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2213
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-05-03 16:42:48.573051','2016-05-03 16:42:48.573051','chartreuse')[0m
|
2214
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2215
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2216
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
2217
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2218
|
-
-------------------------------------------------------------------
|
2219
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
2220
|
-
-------------------------------------------------------------------
|
2221
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2222
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2223
|
-
-----------------------------------------------------------------------------
|
2224
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
2225
|
-
-----------------------------------------------------------------------------
|
2226
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
2227
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2228
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-05-03 16:42:48.577883','chartreuse'),('Hey',20,'f','2016-05-03 16:42:48.577883','2016-05-03 16:42:48.577883','chartreuse')
|
2229
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2230
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
2231
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2232
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2233
|
-
---------------------------------------------------------------
|
2234
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
2235
|
-
---------------------------------------------------------------
|
2236
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2237
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2238
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2239
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2240
|
-
------------------------------------------------------------------------------
|
2241
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
2242
|
-
------------------------------------------------------------------------------
|
2243
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2244
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2245
|
-
----------------------------------------------------------------
|
2246
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
2247
|
-
----------------------------------------------------------------
|
2248
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-05-03 16:42:48.581825','2016-05-03 16:42:48.581825','chartreuse')[0m
|
2249
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
2250
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2251
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2252
|
-
----------------------------------------------------------------------------------
|
2253
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
2254
|
-
----------------------------------------------------------------------------------
|
2255
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:42:48.589619','2016-05-03 16:42:48.589619','chartreuse')[0m
|
2256
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
2257
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2258
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2259
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2260
|
-
-------------------------------------------
|
2261
|
-
BulkInsertWorkerTest: test_default_set_size
|
2262
|
-
-------------------------------------------
|
2263
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2264
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2265
|
-
----------------------------------------------------------------
|
2266
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
2267
|
-
----------------------------------------------------------------
|
2268
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:42:48.592636','2016-05-03 16:42:48.592636',NULL)
|
2269
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2270
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2271
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2272
|
-
---------------------------------------------------------------------
|
2273
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
2274
|
-
---------------------------------------------------------------------
|
2275
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2276
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2277
|
-
------------------------------------------------------
|
2278
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
2279
|
-
------------------------------------------------------
|
2280
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2281
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2282
|
-
-------------------------------------------------------------------------------
|
2283
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
2284
|
-
-------------------------------------------------------------------------------
|
2285
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:42:48.595770','2016-05-03 16:42:48.595770','chartreuse')
|
2286
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2287
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2288
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2289
|
-
------------------------------------------------------------------------------
|
2290
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
2291
|
-
------------------------------------------------------------------------------
|
2292
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:42:48.597749','2016-05-03 16:42:48.597749','chartreuse')
|
2293
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2294
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
2295
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2296
|
-
--------------------------------------------------------
|
2297
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
2298
|
-
--------------------------------------------------------
|
2299
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-05-03 16:42:48.599866','2016-05-03 16:42:48.599866','chartreuse'),('Hello',25,'t','2016-05-03 16:42:48.599866','2016-05-03 16:42:48.599866','chartreuse')
|
2300
|
-
[1m[36mTesting Load (0.2ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
2301
|
-
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
2302
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2303
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2304
|
-
----------------------------------------------------------------------------------------------
|
2305
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
2306
|
-
----------------------------------------------------------------------------------------------
|
2307
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:42:48.607268','2016-05-03 16:42:48.607268','chartreuse'),('Howdy',20,'f','2016-05-03 16:42:48.607268','2016-05-03 16:42:48.607268','chartreuse')[0m
|
2308
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings"
|
2309
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2310
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2311
|
-
--------------------------------------------------------------------
|
2312
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
2313
|
-
--------------------------------------------------------------------
|
2314
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2315
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2316
|
-
----------------------------------------------------------------------------
|
2317
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
2318
|
-
----------------------------------------------------------------------------
|
2319
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2320
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2321
|
-
-------------------------------------------------------------------
|
2322
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
2323
|
-
-------------------------------------------------------------------
|
2324
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2325
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
2326
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2327
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2328
|
-
---------------------------------------------------------
|
2329
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
2330
|
-
---------------------------------------------------------
|
2331
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:42:48.614012','2016-05-03 16:42:48.614012','chartreuse')[0m
|
2332
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2333
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2334
|
-
[1m[35m (0.2ms)[0m begin transaction
|
2335
|
-
-------------------------------------------
|
2336
|
-
BulkInsertWorkerTest: test_default_set_size
|
2337
|
-
-------------------------------------------
|
2338
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2339
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2340
|
-
----------------------------------------------------------------
|
2341
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
2342
|
-
----------------------------------------------------------------
|
2343
|
-
[1m[36m (0.5ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:42:54.270837','2016-05-03 16:42:54.270837',NULL)[0m
|
2344
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
2345
|
-
[1m[36m (2.0ms)[0m [1mrollback transaction[0m
|
2346
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2347
|
-
-------------------------------------------------------------------------------
|
2348
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
2349
|
-
-------------------------------------------------------------------------------
|
2350
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:42:54.283206','2016-05-03 16:42:54.283206','chartreuse')[0m
|
2351
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
2352
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2353
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2354
|
-
----------------------------------------------------------------------------------
|
2355
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
2356
|
-
----------------------------------------------------------------------------------
|
2357
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:42:54.285488','2016-05-03 16:42:54.285488','chartreuse')[0m
|
2358
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
2359
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2360
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2361
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2362
|
-
------------------------------------------------------
|
2363
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
2364
|
-
------------------------------------------------------
|
2365
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2366
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2367
|
-
---------------------------------------------------------------------
|
2368
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
2369
|
-
---------------------------------------------------------------------
|
2370
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2371
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2372
|
-
------------------------------------------------------------------------------
|
2373
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
2374
|
-
------------------------------------------------------------------------------
|
2375
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:42:54.289341','2016-05-03 16:42:54.289341','chartreuse')
|
2376
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2377
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2378
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2379
|
-
----------------------------------------------------------------------------------------------
|
2380
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
2381
|
-
----------------------------------------------------------------------------------------------
|
2382
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:42:54.291041','2016-05-03 16:42:54.291041','chartreuse'),('Howdy',20,'f','2016-05-03 16:42:54.291041','2016-05-03 16:42:54.291041','chartreuse')
|
2383
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings"[0m
|
2384
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2385
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2386
|
-
----------------------------------------------------------------
|
2387
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
2388
|
-
----------------------------------------------------------------
|
2389
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-05-03 16:42:54.292897','2016-05-03 16:42:54.292897','chartreuse')
|
2390
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2391
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2392
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2393
|
-
--------------------------------------------------------------------
|
2394
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
2395
|
-
--------------------------------------------------------------------
|
2396
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2397
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2398
|
-
--------------------------------------------------------
|
2399
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
2400
|
-
--------------------------------------------------------
|
2401
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-05-03 16:42:54.295852','2016-05-03 16:42:54.295852','chartreuse'),('Hello',25,'t','2016-05-03 16:42:54.295852','2016-05-03 16:42:54.295852','chartreuse')
|
2402
|
-
[1m[36mTesting Load (0.3ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
2403
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
2404
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2405
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2406
|
-
----------------------------------------------------------------------------
|
2407
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
2408
|
-
----------------------------------------------------------------------------
|
2409
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2410
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2411
|
-
---------------------------------------------------------
|
2412
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
2413
|
-
---------------------------------------------------------
|
2414
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:42:54.303949','2016-05-03 16:42:54.303949','chartreuse')[0m
|
2415
|
-
[1m[35m (0.7ms)[0m rollback transaction
|
2416
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2417
|
-
-------------------------------------------------------------------
|
2418
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
2419
|
-
-------------------------------------------------------------------
|
2420
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
2421
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2422
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2423
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2424
|
-
---------------------------------------------------------------------
|
2425
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
2426
|
-
---------------------------------------------------------------------
|
2427
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "testings"
|
2428
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2429
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-05-03 16:42:54.309559','2016-05-03 16:42:54.309559','chartreuse')
|
2430
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2431
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
2432
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2433
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2434
|
-
------------------------------------------------------------------------------
|
2435
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
2436
|
-
------------------------------------------------------------------------------
|
2437
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2438
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2439
|
-
-----------------------------------------------------------------------------
|
2440
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
2441
|
-
-----------------------------------------------------------------------------
|
2442
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2443
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2444
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-05-03 16:42:54.312368','chartreuse'),('Hey',20,'f','2016-05-03 16:42:54.312368','2016-05-03 16:42:54.312368','chartreuse')[0m
|
2445
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2446
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2447
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2448
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2449
|
-
---------------------------------------------------------------
|
2450
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
2451
|
-
---------------------------------------------------------------
|
2452
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2453
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2454
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2455
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2456
|
-
-------------------------------------------------------------------
|
2457
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
2458
|
-
-------------------------------------------------------------------
|
2459
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2460
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2461
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
2462
|
-
--------------------------------------------------------------------
|
2463
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
2464
|
-
--------------------------------------------------------------------
|
2465
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2466
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2467
|
-
--------------------------------------------------------
|
2468
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
2469
|
-
--------------------------------------------------------
|
2470
|
-
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-05-03 16:43:24.824960','2016-05-03 16:43:24.824960','chartreuse'),('Hello',25,'t','2016-05-03 16:43:24.824960','2016-05-03 16:43:24.824960','chartreuse')[0m
|
2471
|
-
[1m[36mTesting Load (0.2ms)[0m [1m[34mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT ?[0m [["greeting", "Yo"], ["LIMIT", 1]]
|
2472
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT ?[0m [["greeting", "Hello"], ["LIMIT", 1]]
|
2473
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2474
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2475
|
-
------------------------------------------------------------------------------
|
2476
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
2477
|
-
------------------------------------------------------------------------------
|
2478
|
-
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:43:24.847866','2016-05-03 16:43:24.847866','chartreuse')[0m
|
2479
|
-
[1m[36mTesting Load (0.2ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
2480
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
2481
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2482
|
-
-------------------------------------------------------------------------------
|
2483
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
2484
|
-
-------------------------------------------------------------------------------
|
2485
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:43:24.851020','2016-05-03 16:43:24.851020','chartreuse')[0m
|
2486
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
2487
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2488
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2489
|
-
-------------------------------------------------------------------
|
2490
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
2491
|
-
-------------------------------------------------------------------
|
2492
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
2493
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
2494
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2495
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2496
|
-
----------------------------------------------------------------------------------------------
|
2497
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
2498
|
-
----------------------------------------------------------------------------------------------
|
2499
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:43:24.857822','2016-05-03 16:43:24.857822','chartreuse'),('Howdy',20,'f','2016-05-03 16:43:24.857822','2016-05-03 16:43:24.857822','chartreuse')[0m
|
2500
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings"[0m
|
2501
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2502
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2503
|
-
----------------------------------------------------------------------------------
|
2504
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
2505
|
-
----------------------------------------------------------------------------------
|
2506
|
-
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:43:24.860730','2016-05-03 16:43:24.860730','chartreuse')[0m
|
2507
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
2508
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
2509
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2510
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2511
|
-
-------------------------------------------
|
2512
|
-
BulkInsertWorkerTest: test_default_set_size
|
2513
|
-
-------------------------------------------
|
2514
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2515
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2516
|
-
----------------------------------------------------------------------------
|
2517
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
2518
|
-
----------------------------------------------------------------------------
|
2519
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2520
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2521
|
-
----------------------------------------------------------------
|
2522
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
2523
|
-
----------------------------------------------------------------
|
2524
|
-
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-05-03 16:43:24.866462','2016-05-03 16:43:24.866462',NULL)[0m
|
2525
|
-
[1m[36mTesting Load (0.1ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
2526
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2527
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2528
|
-
---------------------------------------------------------------------
|
2529
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
2530
|
-
---------------------------------------------------------------------
|
2531
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2532
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2533
|
-
------------------------------------------------------
|
2534
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
2535
|
-
------------------------------------------------------
|
2536
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2537
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2538
|
-
---------------------------------------------------------
|
2539
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
2540
|
-
---------------------------------------------------------
|
2541
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-05-03 16:43:24.872340','2016-05-03 16:43:24.872340','chartreuse')[0m
|
2542
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2543
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2544
|
-
----------------------------------------------------------------
|
2545
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
2546
|
-
----------------------------------------------------------------
|
2547
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-05-03 16:43:24.874056','2016-05-03 16:43:24.874056','chartreuse')[0m
|
2548
|
-
[1m[36mTesting Load (0.0ms)[0m [1m[34mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
2549
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2550
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2551
|
-
---------------------------------------------------------------------
|
2552
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
2553
|
-
---------------------------------------------------------------------
|
2554
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
2555
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2556
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-05-03 16:43:24.879683','2016-05-03 16:43:24.879683','chartreuse')[0m
|
2557
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2558
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
2559
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2560
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2561
|
-
-------------------------------------------------------------------
|
2562
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
2563
|
-
-------------------------------------------------------------------
|
2564
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2565
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2566
|
-
-----------------------------------------------------------------------------
|
2567
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
2568
|
-
-----------------------------------------------------------------------------
|
2569
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
2570
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2571
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-05-03 16:43:24.883856','chartreuse'),('Hey',20,'f','2016-05-03 16:43:24.883856','2016-05-03 16:43:24.883856','chartreuse')[0m
|
2572
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2573
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "testings"[0m
|
2574
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2575
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2576
|
-
---------------------------------------------------------------
|
2577
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
2578
|
-
---------------------------------------------------------------
|
2579
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2580
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2581
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2582
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2583
|
-
------------------------------------------------------------------------------
|
2584
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
2585
|
-
------------------------------------------------------------------------------
|
2586
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2587
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2588
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2589
|
-
------------------------------------------------------
|
2590
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
2591
|
-
------------------------------------------------------
|
2592
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2593
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2594
|
-
----------------------------------------------------------------------------------
|
2595
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
2596
|
-
----------------------------------------------------------------------------------
|
2597
|
-
[1m[36m (0.7ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-08-11 04:56:37.094628','2016-08-11 04:56:37.094628','chartreuse')[0m
|
2598
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
2599
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2600
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
2601
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2602
|
-
----------------------------------------------------------------------------------------------
|
2603
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
2604
|
-
----------------------------------------------------------------------------------------------
|
2605
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-08-11 04:56:37.105237','2016-08-11 04:56:37.105237','chartreuse'),('Howdy',20,'f','2016-08-11 04:56:37.105237','2016-08-11 04:56:37.105237','chartreuse')
|
2606
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings"[0m
|
2607
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
2608
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2609
|
-
--------------------------------------------------------------------
|
2610
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
2611
|
-
--------------------------------------------------------------------
|
2612
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2613
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2614
|
-
-------------------------------------------------------------------------------
|
2615
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
2616
|
-
-------------------------------------------------------------------------------
|
2617
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-08-11 04:56:37.107714','2016-08-11 04:56:37.107714','chartreuse')
|
2618
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2619
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2620
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2621
|
-
----------------------------------------------------------------
|
2622
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
2623
|
-
----------------------------------------------------------------
|
2624
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-08-11 04:56:37.110279','2016-08-11 04:56:37.110279','chartreuse')
|
2625
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2626
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
2627
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2628
|
-
---------------------------------------------------------
|
2629
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
2630
|
-
---------------------------------------------------------
|
2631
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-08-11 04:56:37.112128','2016-08-11 04:56:37.112128','chartreuse')
|
2632
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2633
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2634
|
-
---------------------------------------------------------------------
|
2635
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
2636
|
-
---------------------------------------------------------------------
|
2637
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2638
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2639
|
-
----------------------------------------------------------------------------
|
2640
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
2641
|
-
----------------------------------------------------------------------------
|
2642
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2643
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2644
|
-
--------------------------------------------------------
|
2645
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
2646
|
-
--------------------------------------------------------
|
2647
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-08-11 04:56:37.114434','2016-08-11 04:56:37.114434','chartreuse'),('Hello',25,'t','2016-08-11 04:56:37.114434','2016-08-11 04:56:37.114434','chartreuse')[0m
|
2648
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
2649
|
-
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
2650
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
2651
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2652
|
-
----------------------------------------------------------------
|
2653
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
2654
|
-
----------------------------------------------------------------
|
2655
|
-
[1m[35m (0.1ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-08-11 04:56:37.119013','2016-08-11 04:56:37.119013',NULL)
|
2656
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2657
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
2658
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2659
|
-
------------------------------------------------------------------------------
|
2660
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
2661
|
-
------------------------------------------------------------------------------
|
2662
|
-
[1m[35m (0.1ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-08-11 04:56:37.120512','2016-08-11 04:56:37.120512','chartreuse')
|
2663
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2664
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
2665
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2666
|
-
-------------------------------------------
|
2667
|
-
BulkInsertWorkerTest: test_default_set_size
|
2668
|
-
-------------------------------------------
|
2669
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2670
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2671
|
-
-------------------------------------------------------------------
|
2672
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
2673
|
-
-------------------------------------------------------------------
|
2674
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
2675
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2676
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2677
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2678
|
-
-----------------------------------------------------------------------------
|
2679
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
2680
|
-
-----------------------------------------------------------------------------
|
2681
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
2682
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2683
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-08-11 04:56:37.124852','chartreuse'),('Hey',20,'f','2016-08-11 04:56:37.124852','2016-08-11 04:56:37.124852','chartreuse')
|
2684
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2685
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
2686
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2687
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2688
|
-
---------------------------------------------------------------------
|
2689
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
2690
|
-
---------------------------------------------------------------------
|
2691
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2692
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2693
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-08-11 04:56:37.129756','2016-08-11 04:56:37.129756','chartreuse')[0m
|
2694
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2695
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2696
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
2697
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2698
|
-
---------------------------------------------------------------
|
2699
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
2700
|
-
---------------------------------------------------------------
|
2701
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2702
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2703
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2704
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2705
|
-
-------------------------------------------------------------------
|
2706
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
2707
|
-
-------------------------------------------------------------------
|
2708
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2709
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2710
|
-
------------------------------------------------------------------------------
|
2711
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
2712
|
-
------------------------------------------------------------------------------
|
2713
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2714
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2715
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2716
|
-
-------------------------------------------------------------------
|
2717
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
2718
|
-
-------------------------------------------------------------------
|
2719
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2720
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2721
|
-
------------------------------------------------------------------------------
|
2722
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
2723
|
-
------------------------------------------------------------------------------
|
2724
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2725
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2726
|
-
---------------------------------------------------------------
|
2727
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
2728
|
-
---------------------------------------------------------------
|
2729
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2730
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2731
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2732
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2733
|
-
-----------------------------------------------------------------------------
|
2734
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
2735
|
-
-----------------------------------------------------------------------------
|
2736
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2737
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2738
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-08-11 04:56:56.997024','chartreuse'),('Hey',20,'f','2016-08-11 04:56:56.997024','2016-08-11 04:56:56.997024','chartreuse')[0m
|
2739
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2740
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2741
|
-
[1m[35m (2.1ms)[0m rollback transaction
|
2742
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2743
|
-
---------------------------------------------------------------------
|
2744
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
2745
|
-
---------------------------------------------------------------------
|
2746
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
2747
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2748
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-08-11 04:56:57.004318','2016-08-11 04:56:57.004318','chartreuse')
|
2749
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2750
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
2751
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2752
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2753
|
-
----------------------------------------------------------------------------------
|
2754
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
2755
|
-
----------------------------------------------------------------------------------
|
2756
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-08-11 04:56:57.006279','2016-08-11 04:56:57.006279','chartreuse')[0m
|
2757
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
2758
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2759
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
2760
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2761
|
-
----------------------------------------------------------------------------
|
2762
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
2763
|
-
----------------------------------------------------------------------------
|
2764
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2765
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2766
|
-
----------------------------------------------------------------
|
2767
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
2768
|
-
----------------------------------------------------------------
|
2769
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-08-11 04:56:57.012557','2016-08-11 04:56:57.012557',NULL)
|
2770
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2771
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
2772
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2773
|
-
--------------------------------------------------------
|
2774
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
2775
|
-
--------------------------------------------------------
|
2776
|
-
[1m[35m (0.1ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-08-11 04:56:57.013917','2016-08-11 04:56:57.013917','chartreuse'),('Hello',25,'t','2016-08-11 04:56:57.013917','2016-08-11 04:56:57.013917','chartreuse')
|
2777
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
2778
|
-
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
2779
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2780
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2781
|
-
----------------------------------------------------------------------------------------------
|
2782
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
2783
|
-
----------------------------------------------------------------------------------------------
|
2784
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-08-11 04:56:57.017736','2016-08-11 04:56:57.017736','chartreuse'),('Howdy',20,'f','2016-08-11 04:56:57.017736','2016-08-11 04:56:57.017736','chartreuse')[0m
|
2785
|
-
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings"
|
2786
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2787
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2788
|
-
-------------------------------------------------------------------------------
|
2789
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
2790
|
-
-------------------------------------------------------------------------------
|
2791
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-08-11 04:56:57.019077','2016-08-11 04:56:57.019077','chartreuse')[0m
|
2792
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
2793
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2794
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2795
|
-
---------------------------------------------------------
|
2796
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
2797
|
-
---------------------------------------------------------
|
2798
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-08-11 04:56:57.020272','2016-08-11 04:56:57.020272','chartreuse')[0m
|
2799
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
2800
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2801
|
-
-------------------------------------------------------------------
|
2802
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
2803
|
-
-------------------------------------------------------------------
|
2804
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
2805
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2806
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2807
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2808
|
-
------------------------------------------------------------------------------
|
2809
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
2810
|
-
------------------------------------------------------------------------------
|
2811
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-08-11 04:56:57.022158','2016-08-11 04:56:57.022158','chartreuse')
|
2812
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2813
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
2814
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2815
|
-
--------------------------------------------------------------------
|
2816
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
2817
|
-
--------------------------------------------------------------------
|
2818
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2819
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2820
|
-
----------------------------------------------------------------
|
2821
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
2822
|
-
----------------------------------------------------------------
|
2823
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-08-11 04:56:57.024310','2016-08-11 04:56:57.024310','chartreuse')
|
2824
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2825
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
2826
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2827
|
-
---------------------------------------------------------------------
|
2828
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
2829
|
-
---------------------------------------------------------------------
|
2830
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2831
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2832
|
-
------------------------------------------------------
|
2833
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
2834
|
-
------------------------------------------------------
|
2835
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2836
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2837
|
-
-------------------------------------------
|
2838
|
-
BulkInsertWorkerTest: test_default_set_size
|
2839
|
-
-------------------------------------------
|
2840
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2841
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2842
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2843
|
-
---------------------------------------------------------------------
|
2844
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
2845
|
-
---------------------------------------------------------------------
|
2846
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2847
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2848
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-08-11 04:58:10.649237','2016-08-11 04:58:10.649237','chartreuse')[0m
|
2849
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2850
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2851
|
-
[1m[35m (2.3ms)[0m rollback transaction
|
2852
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2853
|
-
------------------------------------------------------------------------------
|
2854
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
2855
|
-
------------------------------------------------------------------------------
|
2856
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2857
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2858
|
-
-----------------------------------------------------------------------------
|
2859
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
2860
|
-
-----------------------------------------------------------------------------
|
2861
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
2862
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2863
|
-
[1m[35m (0.4ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-08-11 04:58:10.657599','chartreuse'),('Hey',20,'f','2016-08-11 04:58:10.657599','2016-08-11 04:58:10.657599','chartreuse')
|
2864
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2865
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
2866
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2867
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2868
|
-
-------------------------------------------------------------------
|
2869
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
2870
|
-
-------------------------------------------------------------------
|
2871
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2872
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2873
|
-
---------------------------------------------------------------
|
2874
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
2875
|
-
---------------------------------------------------------------
|
2876
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2877
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2878
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2879
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2880
|
-
-------------------------------------------------------------------
|
2881
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
2882
|
-
-------------------------------------------------------------------
|
2883
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2884
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
2885
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2886
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2887
|
-
-------------------------------------------------------------------------------
|
2888
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
2889
|
-
-------------------------------------------------------------------------------
|
2890
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-08-11 04:58:10.664128','2016-08-11 04:58:10.664128','chartreuse')[0m
|
2891
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
2892
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2893
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2894
|
-
-------------------------------------------
|
2895
|
-
BulkInsertWorkerTest: test_default_set_size
|
2896
|
-
-------------------------------------------
|
2897
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2898
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2899
|
-
----------------------------------------------------------------------------------------------
|
2900
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
2901
|
-
----------------------------------------------------------------------------------------------
|
2902
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-08-11 04:58:10.671005','2016-08-11 04:58:10.671005','chartreuse'),('Howdy',20,'f','2016-08-11 04:58:10.671005','2016-08-11 04:58:10.671005','chartreuse')[0m
|
2903
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings"
|
2904
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2905
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2906
|
-
--------------------------------------------------------
|
2907
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
2908
|
-
--------------------------------------------------------
|
2909
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-08-11 04:58:10.672392','2016-08-11 04:58:10.672392','chartreuse'),('Hello',25,'t','2016-08-11 04:58:10.672392','2016-08-11 04:58:10.672392','chartreuse')[0m
|
2910
|
-
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
2911
|
-
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
2912
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
2913
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2914
|
-
---------------------------------------------------------------------
|
2915
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
2916
|
-
---------------------------------------------------------------------
|
2917
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2918
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2919
|
-
----------------------------------------------------------------------------------
|
2920
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
2921
|
-
----------------------------------------------------------------------------------
|
2922
|
-
[1m[35m (0.1ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-08-11 04:58:10.677288','2016-08-11 04:58:10.677288','chartreuse')
|
2923
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2924
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
2925
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2926
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2927
|
-
------------------------------------------------------------------------------
|
2928
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
2929
|
-
------------------------------------------------------------------------------
|
2930
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-08-11 04:58:10.678998','2016-08-11 04:58:10.678998','chartreuse')[0m
|
2931
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
2932
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2933
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2934
|
-
----------------------------------------------------------------------------
|
2935
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
2936
|
-
----------------------------------------------------------------------------
|
2937
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2938
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2939
|
-
---------------------------------------------------------
|
2940
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
2941
|
-
---------------------------------------------------------
|
2942
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-08-11 04:58:10.680576','2016-08-11 04:58:10.680576','chartreuse')[0m
|
2943
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
2944
|
-
[1m[36m (1.2ms)[0m [1mbegin transaction[0m
|
2945
|
-
--------------------------------------------------------------------
|
2946
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
2947
|
-
--------------------------------------------------------------------
|
2948
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2949
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2950
|
-
----------------------------------------------------------------
|
2951
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
2952
|
-
----------------------------------------------------------------
|
2953
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-08-11 04:58:10.685074','2016-08-11 04:58:10.685074',NULL)
|
2954
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2955
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
2956
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2957
|
-
------------------------------------------------------
|
2958
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
2959
|
-
------------------------------------------------------
|
2960
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2961
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2962
|
-
----------------------------------------------------------------
|
2963
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
2964
|
-
----------------------------------------------------------------
|
2965
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-08-11 04:58:10.687048','2016-08-11 04:58:10.687048','chartreuse')
|
2966
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
2967
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
2968
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2969
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2970
|
-
---------------------------------------------------------------------
|
2971
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
2972
|
-
---------------------------------------------------------------------
|
2973
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2974
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2975
|
-
[1m[36m (0.6ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2016-11-01 17:59:20.883249','2016-11-01 17:59:20.883249','chartreuse')[0m
|
2976
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2977
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
2978
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
2979
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2980
|
-
---------------------------------------------------------------
|
2981
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
2982
|
-
---------------------------------------------------------------
|
2983
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2984
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2985
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2986
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2987
|
-
------------------------------------------------------------------------------
|
2988
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
2989
|
-
------------------------------------------------------------------------------
|
2990
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2991
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2992
|
-
-------------------------------------------------------------------
|
2993
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
2994
|
-
-------------------------------------------------------------------
|
2995
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2996
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2997
|
-
-----------------------------------------------------------------------------
|
2998
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
2999
|
-
-----------------------------------------------------------------------------
|
3000
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
3001
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3002
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2016-11-01 17:59:20.890598','chartreuse'),('Hey',20,'f','2016-11-01 17:59:20.890598','2016-11-01 17:59:20.890598','chartreuse')
|
3003
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3004
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
3005
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3006
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3007
|
-
----------------------------------------------------------------
|
3008
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
3009
|
-
----------------------------------------------------------------
|
3010
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-11-01 17:59:20.892761','2016-11-01 17:59:20.892761',NULL)[0m
|
3011
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
3012
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3013
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3014
|
-
-------------------------------------------------------------------------------
|
3015
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
3016
|
-
-------------------------------------------------------------------------------
|
3017
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-11-01 17:59:20.898576','2016-11-01 17:59:20.898576','chartreuse')[0m
|
3018
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
3019
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3020
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3021
|
-
----------------------------------------------------------------------------------
|
3022
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
3023
|
-
----------------------------------------------------------------------------------
|
3024
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-11-01 17:59:20.900257','2016-11-01 17:59:20.900257','chartreuse')[0m
|
3025
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
3026
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
3027
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
3028
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3029
|
-
--------------------------------------------------------
|
3030
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
3031
|
-
--------------------------------------------------------
|
3032
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-11-01 17:59:20.902554','2016-11-01 17:59:20.902554','chartreuse'),('Hello',25,'t','2016-11-01 17:59:20.902554','2016-11-01 17:59:20.902554','chartreuse')
|
3033
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
3034
|
-
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
3035
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3036
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3037
|
-
--------------------------------------------------------------
|
3038
|
-
BulkInsertWorkerTest: test_after_save_stores_a_block_as_a_proc
|
3039
|
-
--------------------------------------------------------------
|
3040
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3041
|
-
[1m[35m (0.1ms)[0m begin transaction
|
3042
|
-
-------------------------------------------------------------------
|
3043
|
-
BulkInsertWorkerTest: test_after_save_callback_can_be_set_as_a_proc
|
3044
|
-
-------------------------------------------------------------------
|
3045
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3046
|
-
[1m[35m (0.1ms)[0m begin transaction
|
3047
|
-
---------------------------------------------------------
|
3048
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
3049
|
-
---------------------------------------------------------
|
3050
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-11-01 17:59:20.909065','2016-11-01 17:59:20.909065','chartreuse')[0m
|
3051
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
3052
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3053
|
-
--------------------------------------------------------------------
|
3054
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
3055
|
-
--------------------------------------------------------------------
|
3056
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
3057
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3058
|
-
----------------------------------------------------------------
|
3059
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
3060
|
-
----------------------------------------------------------------
|
3061
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2016-11-01 17:59:20.910787','2016-11-01 17:59:20.910787','chartreuse')
|
3062
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
3063
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
3064
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3065
|
-
------------------------------------------------------
|
3066
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
3067
|
-
------------------------------------------------------
|
3068
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
3069
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3070
|
-
----------------------------------------------------------------------------------------------
|
3071
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
3072
|
-
----------------------------------------------------------------------------------------------
|
3073
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2016-11-01 17:59:20.912730','2016-11-01 17:59:20.912730','chartreuse'),('Howdy',20,'f','2016-11-01 17:59:20.912730','2016-11-01 17:59:20.912730','chartreuse')
|
3074
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings"[0m
|
3075
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
3076
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3077
|
-
---------------------------------------------------------------------
|
3078
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
3079
|
-
---------------------------------------------------------------------
|
3080
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
3081
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3082
|
-
-------------------------------------------
|
3083
|
-
BulkInsertWorkerTest: test_default_set_size
|
3084
|
-
-------------------------------------------
|
3085
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
3086
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3087
|
-
----------------------------------------------------------------------------
|
3088
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
3089
|
-
----------------------------------------------------------------------------
|
3090
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
3091
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3092
|
-
-------------------------------------------------------------
|
3093
|
-
BulkInsertWorkerTest: test_save!_calls_the_after_save_handler
|
3094
|
-
-------------------------------------------------------------
|
3095
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2016-11-01 17:59:20.915894','2016-11-01 17:59:20.915894','chartreuse'),('Hello',25,'t','2016-11-01 17:59:20.915894','2016-11-01 17:59:20.915894','chartreuse')
|
3096
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
3097
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3098
|
-
-------------------------------------------------------------------
|
3099
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
3100
|
-
-------------------------------------------------------------------
|
3101
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
3102
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
3103
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3104
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3105
|
-
------------------------------------------------------------------------------
|
3106
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
3107
|
-
------------------------------------------------------------------------------
|
3108
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2016-11-01 17:59:20.918117','2016-11-01 17:59:20.918117','chartreuse')[0m
|
3109
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
3110
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
3111
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3112
|
-
[1m[35m (0.1ms)[0m begin transaction
|
3113
|
-
-------------------------------------------------------------------
|
3114
|
-
BulkInsertWorkerTest: test_after_save_callback_can_be_set_as_a_proc
|
3115
|
-
-------------------------------------------------------------------
|
3116
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3117
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3118
|
-
----------------------------------------------------------------------------------------------
|
3119
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
3120
|
-
----------------------------------------------------------------------------------------------
|
3121
|
-
[1m[36m (0.8ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2017-02-11 23:45:39.546535','2017-02-11 23:45:39.546535','chartreuse'),('Howdy',20,'f','2017-02-11 23:45:39.546535','2017-02-11 23:45:39.546535','chartreuse')[0m
|
3122
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings"
|
3123
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3124
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3125
|
-
------------------------------------------------------------------------------
|
3126
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
3127
|
-
------------------------------------------------------------------------------
|
3128
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2017-02-11 23:45:39.554824','2017-02-11 23:45:39.554824','chartreuse')[0m
|
3129
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
3130
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3131
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3132
|
-
--------------------------------------------------------
|
3133
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
3134
|
-
--------------------------------------------------------
|
3135
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2017-02-11 23:45:39.557371','2017-02-11 23:45:39.557371','chartreuse'),('Hello',25,'t','2017-02-11 23:45:39.557371','2017-02-11 23:45:39.557371','chartreuse')[0m
|
3136
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
3137
|
-
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
3138
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
3139
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3140
|
-
----------------------------------------------------------------------------
|
3141
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
3142
|
-
----------------------------------------------------------------------------
|
3143
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
3144
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3145
|
-
-------------------------------------------------------------------------------
|
3146
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
3147
|
-
-------------------------------------------------------------------------------
|
3148
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2017-02-11 23:45:39.563471','2017-02-11 23:45:39.563471','chartreuse')
|
3149
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
3150
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
3151
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3152
|
-
----------------------------------------------------------------------------------
|
3153
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
3154
|
-
----------------------------------------------------------------------------------
|
3155
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2017-02-11 23:45:39.564977','2017-02-11 23:45:39.564977','chartreuse')
|
3156
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
3157
|
-
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
3158
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
3159
|
-
[1m[35m (0.1ms)[0m begin transaction
|
3160
|
-
-------------------------------------------------------------------
|
3161
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
3162
|
-
-------------------------------------------------------------------
|
3163
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
3164
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
3165
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3166
|
-
[1m[35m (0.1ms)[0m begin transaction
|
3167
|
-
-------------------------------------------------------------
|
3168
|
-
BulkInsertWorkerTest: test_save!_calls_the_after_save_handler
|
3169
|
-
-------------------------------------------------------------
|
3170
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2017-02-11 23:45:39.567512','2017-02-11 23:45:39.567512','chartreuse'),('Hello',25,'t','2017-02-11 23:45:39.567512','2017-02-11 23:45:39.567512','chartreuse')[0m
|
3171
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
3172
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3173
|
-
----------------------------------------------------------------
|
3174
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
3175
|
-
----------------------------------------------------------------
|
3176
|
-
[1m[35m (0.1ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2017-02-11 23:45:39.568535','2017-02-11 23:45:39.568535',NULL)
|
3177
|
-
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
3178
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
3179
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3180
|
-
-------------------------------------------
|
3181
|
-
BulkInsertWorkerTest: test_default_set_size
|
3182
|
-
-------------------------------------------
|
3183
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
3184
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3185
|
-
----------------------------------------------------------------
|
3186
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
3187
|
-
----------------------------------------------------------------
|
3188
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2017-02-11 23:45:39.570261','2017-02-11 23:45:39.570261','chartreuse')
|
3189
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
3190
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
3191
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3192
|
-
--------------------------------------------------------------------
|
3193
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
3194
|
-
--------------------------------------------------------------------
|
3195
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
3196
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3197
|
-
---------------------------------------------------------
|
3198
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
3199
|
-
---------------------------------------------------------
|
3200
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2017-02-11 23:45:39.572142','2017-02-11 23:45:39.572142','chartreuse')
|
3201
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3202
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3203
|
-
------------------------------------------------------
|
3204
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
3205
|
-
------------------------------------------------------
|
3206
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3207
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3208
|
-
---------------------------------------------------------------------
|
3209
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
3210
|
-
---------------------------------------------------------------------
|
3211
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3212
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3213
|
-
--------------------------------------------------------------
|
3214
|
-
BulkInsertWorkerTest: test_after_save_stores_a_block_as_a_proc
|
3215
|
-
--------------------------------------------------------------
|
3216
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3217
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3218
|
-
------------------------------------------------------------------------------
|
3219
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
3220
|
-
------------------------------------------------------------------------------
|
3221
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3222
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3223
|
-
-------------------------------------------------------------------
|
3224
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
3225
|
-
-------------------------------------------------------------------
|
3226
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3227
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3228
|
-
-----------------------------------------------------------------------------
|
3229
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
3230
|
-
-----------------------------------------------------------------------------
|
3231
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
3232
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3233
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2017-02-11 23:45:39.576083','chartreuse'),('Hey',20,'f','2017-02-11 23:45:39.576083','2017-02-11 23:45:39.576083','chartreuse')[0m
|
3234
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3235
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
3236
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
3237
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3238
|
-
---------------------------------------------------------------------
|
3239
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
3240
|
-
---------------------------------------------------------------------
|
3241
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
3242
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3243
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2017-02-11 23:45:39.578091','2017-02-11 23:45:39.578091','chartreuse')
|
3244
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3245
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
3246
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
3247
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3248
|
-
---------------------------------------------------------------
|
3249
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
3250
|
-
---------------------------------------------------------------
|
3251
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3252
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3253
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3254
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3255
|
-
[1m[35m (0.1ms)[0m begin transaction
|
3256
|
-
-------------------------------------------------------------------
|
3257
|
-
BulkInsertWorkerTest: test_after_save_callback_can_be_set_as_a_proc
|
3258
|
-
-------------------------------------------------------------------
|
3259
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3260
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3261
|
-
-------------------------------------------------------------------
|
3262
|
-
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
3263
|
-
-------------------------------------------------------------------
|
3264
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
3265
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
3266
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3267
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3268
|
-
---------------------------------------------------------------------
|
3269
|
-
BulkInsertWorkerTest: test_add_all_should_append_all_items_to_the_set
|
3270
|
-
---------------------------------------------------------------------
|
3271
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3272
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3273
|
-
--------------------------------------------------------------
|
3274
|
-
BulkInsertWorkerTest: test_after_save_stores_a_block_as_a_proc
|
3275
|
-
--------------------------------------------------------------
|
3276
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3277
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3278
|
-
-------------------------------------------------------------
|
3279
|
-
BulkInsertWorkerTest: test_save!_calls_the_after_save_handler
|
3280
|
-
-------------------------------------------------------------
|
3281
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2017-02-11 23:46:25.196788','2017-02-11 23:46:25.196788','chartreuse'),('Hello',25,'t','2017-02-11 23:46:25.196788','2017-02-11 23:46:25.196788','chartreuse')[0m
|
3282
|
-
[1m[35m (2.3ms)[0m rollback transaction
|
3283
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3284
|
-
-------------------------------------------------------------------------------
|
3285
|
-
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
3286
|
-
-------------------------------------------------------------------------------
|
3287
|
-
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2017-02-11 23:46:25.201773','2017-02-11 23:46:25.201773','chartreuse')
|
3288
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
3289
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
3290
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3291
|
-
------------------------------------------------------
|
3292
|
-
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
3293
|
-
------------------------------------------------------
|
3294
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
3295
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3296
|
-
------------------------------------------------------------------------------
|
3297
|
-
BulkInsertWorkerTest: test_add_should_use_database_default_values_when_present
|
3298
|
-
------------------------------------------------------------------------------
|
3299
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2017-02-11 23:46:25.209628','2017-02-11 23:46:25.209628','chartreuse')
|
3300
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
3301
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
3302
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3303
|
-
--------------------------------------------------------
|
3304
|
-
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
3305
|
-
--------------------------------------------------------
|
3306
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',15,'f','2017-02-11 23:46:25.211213','2017-02-11 23:46:25.211213','chartreuse'),('Hello',25,'t','2017-02-11 23:46:25.211213','2017-02-11 23:46:25.211213','chartreuse')
|
3307
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
3308
|
-
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
3309
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3310
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3311
|
-
----------------------------------------------------------------
|
3312
|
-
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
3313
|
-
----------------------------------------------------------------
|
3314
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Yo',20,'f','2017-02-11 23:46:25.215328','2017-02-11 23:46:25.215328','chartreuse')[0m
|
3315
|
-
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
3316
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3317
|
-
[1m[35m (0.1ms)[0m begin transaction
|
3318
|
-
----------------------------------------------------------------
|
3319
|
-
BulkInsertWorkerTest: test_explicit_nil_should_override_defaults
|
3320
|
-
----------------------------------------------------------------
|
3321
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',20,'f','2017-02-11 23:46:25.216675','2017-02-11 23:46:25.216675',NULL)[0m
|
3322
|
-
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
3323
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3324
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3325
|
-
----------------------------------------------------------------------------------
|
3326
|
-
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
3327
|
-
----------------------------------------------------------------------------------
|
3328
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2017-02-11 23:46:25.217847','2017-02-11 23:46:25.217847','chartreuse')[0m
|
3329
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
3330
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
3331
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
3332
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3333
|
-
--------------------------------------------------------------------
|
3334
|
-
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
3335
|
-
--------------------------------------------------------------------
|
3336
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
3337
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3338
|
-
----------------------------------------------------------------------------
|
3339
|
-
BulkInsertWorkerTest: test_pending_count_should_describe_size_of_pending_set
|
3340
|
-
----------------------------------------------------------------------------
|
3341
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
3342
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3343
|
-
-------------------------------------------
|
3344
|
-
BulkInsertWorkerTest: test_default_set_size
|
3345
|
-
-------------------------------------------
|
3346
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
3347
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3348
|
-
----------------------------------------------------------------------------------------------
|
3349
|
-
BulkInsertWorkerTest: test_default_timestamp_columns_should_be_equivalent_for_the_entire_batch
|
3350
|
-
----------------------------------------------------------------------------------------------
|
3351
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2017-02-11 23:46:25.220829','2017-02-11 23:46:25.220829','chartreuse'),('Howdy',20,'f','2017-02-11 23:46:25.220829','2017-02-11 23:46:25.220829','chartreuse')
|
3352
|
-
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings"[0m
|
3353
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
3354
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3355
|
-
---------------------------------------------------------
|
3356
|
-
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
3357
|
-
---------------------------------------------------------
|
3358
|
-
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','2017-02-11 23:46:25.222350','2017-02-11 23:46:25.222350','chartreuse')
|
3359
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3360
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3361
|
-
------------------------------------------------------------------------------
|
3362
|
-
BulkInsertTest: test_default_bulk_columns_should_return_all_columns_without_id
|
3363
|
-
------------------------------------------------------------------------------
|
3364
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3365
|
-
[1m[35m (0.1ms)[0m begin transaction
|
3366
|
-
-------------------------------------------------------------------
|
3367
|
-
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
3368
|
-
-------------------------------------------------------------------
|
3369
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3370
|
-
[1m[35m (0.0ms)[0m begin transaction
|
3371
|
-
-----------------------------------------------------------------------------
|
3372
|
-
BulkInsertTest: test_bulk_insert_with_array_should_save_the_array_immediately
|
3373
|
-
-----------------------------------------------------------------------------
|
3374
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
3375
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3376
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',15,'t','green','2017-02-11 23:46:25.224910','chartreuse'),('Hey',20,'f','2017-02-11 23:46:25.224910','2017-02-11 23:46:25.224910','chartreuse')[0m
|
3377
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3378
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
3379
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
3380
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3381
|
-
---------------------------------------------------------------
|
3382
|
-
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
3383
|
-
---------------------------------------------------------------
|
3384
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3385
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3386
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
3387
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3388
|
-
---------------------------------------------------------------------
|
3389
|
-
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
3390
|
-
---------------------------------------------------------------------
|
3391
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
3392
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3393
|
-
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at","color") VALUES ('Hello',NULL,NULL,'2017-02-11 23:46:25.227624','2017-02-11 23:46:25.227624','chartreuse')
|
3394
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3395
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
3396
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|