bulk_insert 1.0.0
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 +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +96 -0
- data/Rakefile +34 -0
- data/lib/bulk_insert.rb +24 -0
- data/lib/bulk_insert/version.rb +7 -0
- data/lib/bulk_insert/worker.rb +64 -0
- data/test/bulk_insert/worker_test.rb +84 -0
- data/test/bulk_insert_test.rb +22 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/testing.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +26 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20151008181535_create_testings.rb +11 -0
- data/test/dummy/db/schema.rb +24 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +10 -0
- data/test/dummy/log/test.log +1567 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/test_helper.rb +19 -0
- metadata +180 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
development:
|
14
|
+
secret_key_base: f6486be44b975842a9304a32397ca8d99b1d3e9fecbede92ffb16c60091d3d16a23092e3a53ae3561c1c0f7302a3549e48536f27e240d4b948d125a846171f2a
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: 344e414a6671f7f8b5a409072134ace55a41f0f59e9f044119419ddcac2d537405a6558173af09ec14e0c11e77cdd0a85e33c3d28fbc022424b3e86bd4ff35db
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
Binary file
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20151008181535) do
|
15
|
+
|
16
|
+
create_table "testings", force: :cascade do |t|
|
17
|
+
t.string "greeting"
|
18
|
+
t.integer "age"
|
19
|
+
t.boolean "happy"
|
20
|
+
t.datetime "created_at", null: false
|
21
|
+
t.datetime "updated_at", null: false
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
Binary file
|
@@ -0,0 +1,10 @@
|
|
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
|
@@ -0,0 +1,1567 @@
|
|
1
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2
|
+
------------------------------------------------------
|
3
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
4
|
+
------------------------------------------------------
|
5
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7
|
+
--------------------------
|
8
|
+
BulkInsertTest: test_truth
|
9
|
+
--------------------------
|
10
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
+
------------------------------------------------------
|
13
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
14
|
+
------------------------------------------------------
|
15
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17
|
+
--------------------------
|
18
|
+
BulkInsertTest: test_truth
|
19
|
+
--------------------------
|
20
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
21
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22
|
+
------------------------------------------------------
|
23
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
24
|
+
------------------------------------------------------
|
25
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27
|
+
--------------------------
|
28
|
+
BulkInsertTest: test_truth
|
29
|
+
--------------------------
|
30
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32
|
+
------------------------------------------------------
|
33
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
34
|
+
------------------------------------------------------
|
35
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37
|
+
--------------------------
|
38
|
+
BulkInsertTest: test_truth
|
39
|
+
--------------------------
|
40
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42
|
+
--------------------------
|
43
|
+
BulkInsertTest: test_truth
|
44
|
+
--------------------------
|
45
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47
|
+
------------------------------------------------------
|
48
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
49
|
+
------------------------------------------------------
|
50
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
51
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52
|
+
--------------------------
|
53
|
+
BulkInsertTest: test_truth
|
54
|
+
--------------------------
|
55
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
56
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
57
|
+
------------------------------------------------------
|
58
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
59
|
+
------------------------------------------------------
|
60
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
61
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
62
|
+
--------------------------------------------------------------------
|
63
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
64
|
+
--------------------------------------------------------------------
|
65
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
67
|
+
--------------------------
|
68
|
+
BulkInsertTest: test_truth
|
69
|
+
--------------------------
|
70
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
72
|
+
--------------------------------------------------------------------
|
73
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
74
|
+
--------------------------------------------------------------------
|
75
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
76
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
77
|
+
------------------------------------------------------
|
78
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
79
|
+
------------------------------------------------------
|
80
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
81
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
82
|
+
--------------------------
|
83
|
+
BulkInsertTest: test_truth
|
84
|
+
--------------------------
|
85
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
86
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87
|
+
------------------------------------------------------
|
88
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
89
|
+
------------------------------------------------------
|
90
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
91
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
92
|
+
--------------------------------------------------------------------
|
93
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
94
|
+
--------------------------------------------------------------------
|
95
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
96
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
97
|
+
---------------------------------------------------------
|
98
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
99
|
+
---------------------------------------------------------
|
100
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
102
|
+
---------------------------------------------------------
|
103
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
104
|
+
---------------------------------------------------------
|
105
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
106
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
107
|
+
------------------------------------------------------
|
108
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
109
|
+
------------------------------------------------------
|
110
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
111
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
112
|
+
--------------------------------------------------------------------
|
113
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
114
|
+
--------------------------------------------------------------------
|
115
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
116
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
117
|
+
--------------------------
|
118
|
+
BulkInsertTest: test_truth
|
119
|
+
--------------------------
|
120
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
121
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
122
|
+
---------------------------------------------------------
|
123
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
124
|
+
---------------------------------------------------------
|
125
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
126
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
127
|
+
------------------------------------------------------
|
128
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
129
|
+
------------------------------------------------------
|
130
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
131
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
132
|
+
--------------------------------------------------------------------
|
133
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
134
|
+
--------------------------------------------------------------------
|
135
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
136
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
137
|
+
--------------------------------------------------------
|
138
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
139
|
+
--------------------------------------------------------
|
140
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
141
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
142
|
+
--------------------------
|
143
|
+
BulkInsertTest: test_truth
|
144
|
+
--------------------------
|
145
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
146
|
+
[1m[36m (2.7ms)[0m [1mCREATE 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) [0m
|
147
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
148
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
149
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
150
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
151
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151008181535')
|
152
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
153
|
+
[1m[35m (0.1ms)[0m begin transaction
|
154
|
+
--------------------------
|
155
|
+
BulkInsertTest: test_truth
|
156
|
+
--------------------------
|
157
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
158
|
+
[1m[35m (0.1ms)[0m begin transaction
|
159
|
+
--------------------------------------------------------
|
160
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
161
|
+
--------------------------------------------------------
|
162
|
+
[1m[36mTesting Load (0.2ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
163
|
+
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
164
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
165
|
+
[1m[35m (0.1ms)[0m begin transaction
|
166
|
+
------------------------------------------------------
|
167
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
168
|
+
------------------------------------------------------
|
169
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
170
|
+
[1m[35m (0.1ms)[0m begin transaction
|
171
|
+
---------------------------------------------------------
|
172
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
173
|
+
---------------------------------------------------------
|
174
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
175
|
+
[1m[35m (0.0ms)[0m begin transaction
|
176
|
+
--------------------------------------------------------------------
|
177
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
178
|
+
--------------------------------------------------------------------
|
179
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
180
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
181
|
+
[1m[35m (0.1ms)[0m begin transaction
|
182
|
+
--------------------------
|
183
|
+
BulkInsertTest: test_truth
|
184
|
+
--------------------------
|
185
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
186
|
+
[1m[35m (0.0ms)[0m begin transaction
|
187
|
+
--------------------------------------------------------------------
|
188
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
189
|
+
--------------------------------------------------------------------
|
190
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
191
|
+
[1m[35m (0.1ms)[0m begin transaction
|
192
|
+
------------------------------------------------------
|
193
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
194
|
+
------------------------------------------------------
|
195
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
196
|
+
[1m[35m (0.0ms)[0m begin transaction
|
197
|
+
--------------------------------------------------------
|
198
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
199
|
+
--------------------------------------------------------
|
200
|
+
[1m[36mTesting Load (0.3ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
201
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
202
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
203
|
+
[1m[35m (0.2ms)[0m begin transaction
|
204
|
+
---------------------------------------------------------
|
205
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
206
|
+
---------------------------------------------------------
|
207
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
208
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
209
|
+
[1m[35m (0.1ms)[0m begin transaction
|
210
|
+
--------------------------------------------------------
|
211
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
212
|
+
--------------------------------------------------------
|
213
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") ('Yo',15,'f',NULL,NULL),('Hello',25,'t',NULL,NULL)[0m
|
214
|
+
SQLite3::SQLException: near "(": syntax error: INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") ('Yo',15,'f',NULL,NULL),('Hello',25,'t',NULL,NULL)
|
215
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
216
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
217
|
+
------------------------------------------------------
|
218
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
219
|
+
------------------------------------------------------
|
220
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
221
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
222
|
+
--------------------------------------------------------------------
|
223
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
224
|
+
--------------------------------------------------------------------
|
225
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
227
|
+
-------------------------------------------------------------------
|
228
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
229
|
+
-------------------------------------------------------------------
|
230
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
231
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
232
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
233
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
234
|
+
---------------------------------------------------------
|
235
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
236
|
+
---------------------------------------------------------
|
237
|
+
[1m[35m (0.1ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") ('Hello',15,'t',NULL,NULL)
|
238
|
+
SQLite3::SQLException: near "(": syntax error: INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") ('Hello',15,'t',NULL,NULL)
|
239
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
240
|
+
[1m[35m (0.0ms)[0m begin transaction
|
241
|
+
--------------------------
|
242
|
+
BulkInsertTest: test_truth
|
243
|
+
--------------------------
|
244
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
245
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
246
|
+
[1m[35m (0.1ms)[0m begin transaction
|
247
|
+
--------------------------------------------------------
|
248
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
249
|
+
--------------------------------------------------------
|
250
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f',NULL,NULL),('Hello',25,'t',NULL,NULL)[0m
|
251
|
+
SQLite3::ConstraintException: NOT NULL constraint failed: testings.created_at: INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f',NULL,NULL),('Hello',25,'t',NULL,NULL)
|
252
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
253
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
254
|
+
--------------------------------------------------------------------
|
255
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
256
|
+
--------------------------------------------------------------------
|
257
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
258
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
259
|
+
------------------------------------------------------
|
260
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
261
|
+
------------------------------------------------------
|
262
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
264
|
+
---------------------------------------------------------
|
265
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
266
|
+
---------------------------------------------------------
|
267
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t',NULL,NULL)
|
268
|
+
SQLite3::ConstraintException: NOT NULL constraint failed: testings.created_at: INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t',NULL,NULL)
|
269
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
270
|
+
[1m[35m (0.1ms)[0m begin transaction
|
271
|
+
-------------------------------------------------------------------
|
272
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
273
|
+
-------------------------------------------------------------------
|
274
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
275
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
276
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
277
|
+
[1m[35m (0.0ms)[0m begin transaction
|
278
|
+
--------------------------
|
279
|
+
BulkInsertTest: test_truth
|
280
|
+
--------------------------
|
281
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
282
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
283
|
+
[1m[35m (0.1ms)[0m begin transaction
|
284
|
+
-------------------------------------------------------------------
|
285
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
286
|
+
-------------------------------------------------------------------
|
287
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
288
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
289
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
290
|
+
[1m[35m (0.0ms)[0m begin transaction
|
291
|
+
------------------------------------------------------
|
292
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
293
|
+
------------------------------------------------------
|
294
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
295
|
+
[1m[35m (0.1ms)[0m begin transaction
|
296
|
+
--------------------------------------------------------
|
297
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
298
|
+
--------------------------------------------------------
|
299
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-08 18:29:58.915692','2015-10-08 18:29:58.915692'),('Hello',25,'t','2015-10-08 18:29:58.915692','2015-10-08 18:29:58.915692')[0m
|
300
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
301
|
+
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
302
|
+
[1m[35m (2.6ms)[0m rollback transaction
|
303
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
304
|
+
---------------------------------------------------------
|
305
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
306
|
+
---------------------------------------------------------
|
307
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:29:58.929152','2015-10-08 18:29:58.929152')
|
308
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
309
|
+
[1m[35m (0.1ms)[0m begin transaction
|
310
|
+
--------------------------------------------------------------------
|
311
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
312
|
+
--------------------------------------------------------------------
|
313
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
314
|
+
[1m[35m (0.0ms)[0m begin transaction
|
315
|
+
--------------------------
|
316
|
+
BulkInsertTest: test_truth
|
317
|
+
--------------------------
|
318
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
319
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
320
|
+
[1m[35m (0.1ms)[0m begin transaction
|
321
|
+
--------------------------
|
322
|
+
BulkInsertTest: test_truth
|
323
|
+
--------------------------
|
324
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
325
|
+
[1m[35m (0.0ms)[0m begin transaction
|
326
|
+
-------------------------------------------------------------------
|
327
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
328
|
+
-------------------------------------------------------------------
|
329
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
330
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
331
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
332
|
+
[1m[35m (0.1ms)[0m begin transaction
|
333
|
+
--------------------------------------------------------------------
|
334
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
335
|
+
--------------------------------------------------------------------
|
336
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
337
|
+
[1m[35m (0.1ms)[0m begin transaction
|
338
|
+
---------------------------------------------------------
|
339
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
340
|
+
---------------------------------------------------------
|
341
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:33:07.278653','2015-10-08 18:33:07.278653')[0m
|
342
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
343
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
344
|
+
------------------------------------------------------
|
345
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
346
|
+
------------------------------------------------------
|
347
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
348
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
349
|
+
-------------------------------------------------------------------------------
|
350
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
351
|
+
-------------------------------------------------------------------------------
|
352
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t',NULL,NULL)
|
353
|
+
SQLite3::ConstraintException: NOT NULL constraint failed: testings.created_at: INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t',NULL,NULL)
|
354
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
355
|
+
[1m[35m (0.1ms)[0m begin transaction
|
356
|
+
--------------------------------------------------------
|
357
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
358
|
+
--------------------------------------------------------
|
359
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-08 18:33:07.284559','2015-10-08 18:33:07.284559'),('Hello',25,'t','2015-10-08 18:33:07.284559','2015-10-08 18:33:07.284559')[0m
|
360
|
+
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
361
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
362
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
363
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
364
|
+
[1m[35m (0.1ms)[0m begin transaction
|
365
|
+
--------------------------------------------------------------------
|
366
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
367
|
+
--------------------------------------------------------------------
|
368
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
369
|
+
[1m[35m (0.1ms)[0m begin transaction
|
370
|
+
-------------------------------------------------------------------------------
|
371
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
372
|
+
-------------------------------------------------------------------------------
|
373
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:35:57.135857','2015-10-08 18:35:57.135859')[0m
|
374
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
375
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
376
|
+
[1m[35m (0.1ms)[0m begin transaction
|
377
|
+
------------------------------------------------------
|
378
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
379
|
+
------------------------------------------------------
|
380
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
381
|
+
[1m[35m (0.1ms)[0m begin transaction
|
382
|
+
--------------------------------------------------------
|
383
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
384
|
+
--------------------------------------------------------
|
385
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-08 18:35:57.146754','2015-10-08 18:35:57.146754'),('Hello',25,'t','2015-10-08 18:35:57.146754','2015-10-08 18:35:57.146754')[0m
|
386
|
+
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
387
|
+
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
388
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
389
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
390
|
+
-------------------------------------------------------------------
|
391
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
392
|
+
-------------------------------------------------------------------
|
393
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
394
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
395
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
396
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
397
|
+
---------------------------------------------------------
|
398
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
399
|
+
---------------------------------------------------------
|
400
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:35:57.153949','2015-10-08 18:35:57.153949')
|
401
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
402
|
+
[1m[35m (0.0ms)[0m begin transaction
|
403
|
+
--------------------------
|
404
|
+
BulkInsertTest: test_truth
|
405
|
+
--------------------------
|
406
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
407
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
408
|
+
[1m[35m (0.1ms)[0m begin transaction
|
409
|
+
--------------------------
|
410
|
+
BulkInsertTest: test_truth
|
411
|
+
--------------------------
|
412
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
413
|
+
[1m[35m (0.0ms)[0m begin transaction
|
414
|
+
------------------------------------------------------
|
415
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
416
|
+
------------------------------------------------------
|
417
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
418
|
+
[1m[35m (0.0ms)[0m begin transaction
|
419
|
+
--------------------------------------------------------
|
420
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
421
|
+
--------------------------------------------------------
|
422
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-08 18:37:28.549901','2015-10-08 18:37:28.549901'),('Hello',25,'t','2015-10-08 18:37:28.549901','2015-10-08 18:37:28.549901')[0m
|
423
|
+
[1m[35mTesting Load (0.4ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
424
|
+
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
425
|
+
[1m[35m (2.5ms)[0m rollback transaction
|
426
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
427
|
+
--------------------------------------------------------------------
|
428
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
429
|
+
--------------------------------------------------------------------
|
430
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
431
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
432
|
+
-------------------------------------------------------------------
|
433
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
434
|
+
-------------------------------------------------------------------
|
435
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
436
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
437
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
438
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
439
|
+
-------------------------------------------------------------------------------
|
440
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
441
|
+
-------------------------------------------------------------------------------
|
442
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:37:28.568038','2015-10-08 18:37:28.568039')
|
443
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
444
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
445
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
446
|
+
---------------------------------------------------------
|
447
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
448
|
+
---------------------------------------------------------
|
449
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:37:28.570308','2015-10-08 18:37:28.570308')
|
450
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
451
|
+
[1m[35m (0.1ms)[0m begin transaction
|
452
|
+
----------------------------------------------------------------
|
453
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
454
|
+
----------------------------------------------------------------
|
455
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('---
|
456
|
+
- :greeting
|
457
|
+
- Yo
|
458
|
+
',NULL,'---
|
459
|
+
- :happy
|
460
|
+
- false
|
461
|
+
','2015-10-08 18:37:28.571770','2015-10-08 18:37:28.571771')[0m
|
462
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
463
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
464
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
465
|
+
[1m[35m (0.1ms)[0m begin transaction
|
466
|
+
--------------------------
|
467
|
+
BulkInsertTest: test_truth
|
468
|
+
--------------------------
|
469
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
470
|
+
[1m[35m (0.0ms)[0m begin transaction
|
471
|
+
--------------------------------------------------------
|
472
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
473
|
+
--------------------------------------------------------
|
474
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-08 18:39:27.624826','2015-10-08 18:39:27.624826'),('Hello',25,'t','2015-10-08 18:39:27.624826','2015-10-08 18:39:27.624826')[0m
|
475
|
+
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
476
|
+
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
477
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
478
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
479
|
+
---------------------------------------------------------
|
480
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
481
|
+
---------------------------------------------------------
|
482
|
+
[1m[35m (0.4ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:39:27.639732','2015-10-08 18:39:27.639732')
|
483
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
484
|
+
[1m[35m (0.1ms)[0m begin transaction
|
485
|
+
-------------------------------------------------------------------
|
486
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
487
|
+
-------------------------------------------------------------------
|
488
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
489
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
490
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
491
|
+
[1m[35m (0.1ms)[0m begin transaction
|
492
|
+
------------------------------------------------------
|
493
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
494
|
+
------------------------------------------------------
|
495
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
496
|
+
[1m[35m (0.1ms)[0m begin transaction
|
497
|
+
----------------------------------------------------------------
|
498
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
499
|
+
----------------------------------------------------------------
|
500
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-08 18:39:27.644450','2015-10-08 18:39:27.644452')[0m
|
501
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
502
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
503
|
+
[1m[35m (0.1ms)[0m begin transaction
|
504
|
+
-------------------------------------------------------------------------------
|
505
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
506
|
+
-------------------------------------------------------------------------------
|
507
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:39:27.646591','2015-10-08 18:39:27.646592')[0m
|
508
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
509
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
510
|
+
[1m[35m (0.1ms)[0m begin transaction
|
511
|
+
--------------------------------------------------------------------
|
512
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
513
|
+
--------------------------------------------------------------------
|
514
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
515
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
516
|
+
[1m[35m (0.1ms)[0m begin transaction
|
517
|
+
--------------------------
|
518
|
+
BulkInsertTest: test_truth
|
519
|
+
--------------------------
|
520
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
521
|
+
[1m[35m (0.0ms)[0m begin transaction
|
522
|
+
----------------------------------------------------------------------------------
|
523
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
524
|
+
----------------------------------------------------------------------------------
|
525
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
526
|
+
[1m[35m (0.1ms)[0m begin transaction
|
527
|
+
---------------------------------------------------------
|
528
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
529
|
+
---------------------------------------------------------
|
530
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:41:08.257815','2015-10-08 18:41:08.257815')[0m
|
531
|
+
[1m[35m (2.2ms)[0m rollback transaction
|
532
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
533
|
+
--------------------------------------------------------------------
|
534
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
535
|
+
--------------------------------------------------------------------
|
536
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
537
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
538
|
+
-------------------------------------------------------------------
|
539
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
540
|
+
-------------------------------------------------------------------
|
541
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
542
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
543
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
544
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
545
|
+
--------------------------------------------------------
|
546
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
547
|
+
--------------------------------------------------------
|
548
|
+
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-08 18:41:08.267944','2015-10-08 18:41:08.267944'),('Hello',25,'t','2015-10-08 18:41:08.267944','2015-10-08 18:41:08.267944')
|
549
|
+
[1m[36mTesting Load (0.2ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
550
|
+
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
551
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
552
|
+
[1m[35m (0.1ms)[0m begin transaction
|
553
|
+
------------------------------------------------------
|
554
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
555
|
+
------------------------------------------------------
|
556
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
557
|
+
[1m[35m (0.1ms)[0m begin transaction
|
558
|
+
-------------------------------------------------------------------------------
|
559
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
560
|
+
-------------------------------------------------------------------------------
|
561
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:41:08.280089','2015-10-08 18:41:08.280093')[0m
|
562
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
563
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
564
|
+
[1m[35m (0.1ms)[0m begin transaction
|
565
|
+
----------------------------------------------------------------
|
566
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
567
|
+
----------------------------------------------------------------
|
568
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-08 18:41:08.283648','2015-10-08 18:41:08.283648')[0m
|
569
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
570
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
571
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
572
|
+
[1m[35m (0.1ms)[0m begin transaction
|
573
|
+
--------------------------------------------------------
|
574
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
575
|
+
--------------------------------------------------------
|
576
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-08 18:41:32.845485','2015-10-08 18:41:32.845485'),('Hello',25,'t','2015-10-08 18:41:32.845485','2015-10-08 18:41:32.845485')[0m
|
577
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
578
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
579
|
+
[1m[35m (2.0ms)[0m rollback transaction
|
580
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
581
|
+
------------------------------------------------------
|
582
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
583
|
+
------------------------------------------------------
|
584
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
585
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
586
|
+
-------------------------------------------------------------------------------
|
587
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
588
|
+
-------------------------------------------------------------------------------
|
589
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:41:32.862870','2015-10-08 18:41:32.862872')
|
590
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
591
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
592
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
593
|
+
--------------------------------------------------------------------
|
594
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
595
|
+
--------------------------------------------------------------------
|
596
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
597
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
598
|
+
----------------------------------------------------------------
|
599
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
600
|
+
----------------------------------------------------------------
|
601
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-08 18:41:32.865967','2015-10-08 18:41:32.865967')
|
602
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
603
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
604
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
605
|
+
-------------------------------------------------------------------
|
606
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
607
|
+
-------------------------------------------------------------------
|
608
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
609
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
610
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
611
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
612
|
+
---------------------------------------------------------
|
613
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
614
|
+
---------------------------------------------------------
|
615
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:41:32.869268','2015-10-08 18:41:32.869268')
|
616
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
617
|
+
[1m[35m (0.1ms)[0m begin transaction
|
618
|
+
----------------------------------------------------------------------------------
|
619
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
620
|
+
----------------------------------------------------------------------------------
|
621
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
622
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
623
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
624
|
+
--------------------------
|
625
|
+
BulkInsertTest: test_truth
|
626
|
+
--------------------------
|
627
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
628
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
629
|
+
[1m[35m (0.1ms)[0m begin transaction
|
630
|
+
--------------------------
|
631
|
+
BulkInsertTest: test_truth
|
632
|
+
--------------------------
|
633
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
634
|
+
[1m[35m (0.0ms)[0m begin transaction
|
635
|
+
-------------------------------------------------------------------
|
636
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
637
|
+
-------------------------------------------------------------------
|
638
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
639
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
640
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
641
|
+
[1m[35m (0.0ms)[0m begin transaction
|
642
|
+
--------------------------------------------------------
|
643
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
644
|
+
--------------------------------------------------------
|
645
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
646
|
+
[1m[35m (0.1ms)[0m begin transaction
|
647
|
+
------------------------------------------------------
|
648
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
649
|
+
------------------------------------------------------
|
650
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
651
|
+
[1m[35m (0.1ms)[0m begin transaction
|
652
|
+
---------------------------------------------------------
|
653
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
654
|
+
---------------------------------------------------------
|
655
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
656
|
+
[1m[35m (0.0ms)[0m begin transaction
|
657
|
+
----------------------------------------------------------------
|
658
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
659
|
+
----------------------------------------------------------------
|
660
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
661
|
+
[1m[35m (0.1ms)[0m begin transaction
|
662
|
+
-------------------------------------------------------------------------------
|
663
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
664
|
+
-------------------------------------------------------------------------------
|
665
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
666
|
+
[1m[35m (0.1ms)[0m begin transaction
|
667
|
+
----------------------------------------------------------------------------------
|
668
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
669
|
+
----------------------------------------------------------------------------------
|
670
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:41:59.387919','2015-10-08 18:41:59.387919')[0m
|
671
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
672
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
673
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
674
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
675
|
+
--------------------------------------------------------------------
|
676
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
677
|
+
--------------------------------------------------------------------
|
678
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
679
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
680
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681
|
+
----------------------------------------------------------------------------------
|
682
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
683
|
+
----------------------------------------------------------------------------------
|
684
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:42:13.466211','2015-10-08 18:42:13.466211')[0m
|
685
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
686
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
687
|
+
[1m[35m (2.0ms)[0m rollback transaction
|
688
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
689
|
+
---------------------------------------------------------
|
690
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
691
|
+
---------------------------------------------------------
|
692
|
+
[1m[35m (0.4ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:42:13.477072','2015-10-08 18:42:13.477072')
|
693
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
694
|
+
[1m[35m (0.1ms)[0m begin transaction
|
695
|
+
-------------------------------------------------------------------------------
|
696
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
697
|
+
-------------------------------------------------------------------------------
|
698
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 18:42:13.479323','2015-10-08 18:42:13.479325')[0m
|
699
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
700
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
701
|
+
[1m[35m (0.1ms)[0m begin transaction
|
702
|
+
--------------------------------------------------------
|
703
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
704
|
+
--------------------------------------------------------
|
705
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-08 18:42:13.481608','2015-10-08 18:42:13.481608'),('Hello',25,'t','2015-10-08 18:42:13.481608','2015-10-08 18:42:13.481608')[0m
|
706
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
707
|
+
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
708
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
709
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
710
|
+
--------------------------------------------------------------------
|
711
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
712
|
+
--------------------------------------------------------------------
|
713
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
714
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
715
|
+
------------------------------------------------------
|
716
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
717
|
+
------------------------------------------------------
|
718
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
719
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
720
|
+
----------------------------------------------------------------
|
721
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
722
|
+
----------------------------------------------------------------
|
723
|
+
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-08 18:42:13.489269','2015-10-08 18:42:13.489269')
|
724
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
725
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
726
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
727
|
+
-------------------------------------------------------------------
|
728
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
729
|
+
-------------------------------------------------------------------
|
730
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
731
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
732
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
733
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
734
|
+
--------------------------
|
735
|
+
BulkInsertTest: test_truth
|
736
|
+
--------------------------
|
737
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
738
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
739
|
+
[1m[35m (0.1ms)[0m begin transaction
|
740
|
+
--------------------------
|
741
|
+
BulkInsertTest: test_truth
|
742
|
+
--------------------------
|
743
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
744
|
+
[1m[35m (0.0ms)[0m begin transaction
|
745
|
+
--------------------------------------------------------
|
746
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
747
|
+
--------------------------------------------------------
|
748
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-08 19:19:49.198581','2015-10-08 19:19:49.198581'),('Hello',25,'t','2015-10-08 19:19:49.198581','2015-10-08 19:19:49.198581')[0m
|
749
|
+
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
750
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
751
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
753
|
+
-------------------------------------------
|
754
|
+
BulkInsertWorkerTest: test_default_set_size
|
755
|
+
-------------------------------------------
|
756
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
757
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
758
|
+
--------------------------------------------------------------------
|
759
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
760
|
+
--------------------------------------------------------------------
|
761
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
762
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
763
|
+
-------------------------------------------------------------------
|
764
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
765
|
+
-------------------------------------------------------------------
|
766
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
767
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
768
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
769
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
770
|
+
----------------------------------------------------------------------------------
|
771
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
772
|
+
----------------------------------------------------------------------------------
|
773
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:19:49.218044','2015-10-08 19:19:49.218044')
|
774
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
775
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
776
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
777
|
+
[1m[35m (0.1ms)[0m begin transaction
|
778
|
+
------------------------------------------------------
|
779
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
780
|
+
------------------------------------------------------
|
781
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
782
|
+
[1m[35m (0.0ms)[0m begin transaction
|
783
|
+
-------------------------------------------------------------------------------
|
784
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
785
|
+
-------------------------------------------------------------------------------
|
786
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:19:49.221028','2015-10-08 19:19:49.221029')[0m
|
787
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
788
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
789
|
+
[1m[35m (0.1ms)[0m begin transaction
|
790
|
+
---------------------------------------------------------
|
791
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
792
|
+
---------------------------------------------------------
|
793
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:19:49.222872','2015-10-08 19:19:49.222872')[0m
|
794
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
795
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
796
|
+
----------------------------------------------------------------
|
797
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
798
|
+
----------------------------------------------------------------
|
799
|
+
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-08 19:19:49.224626','2015-10-08 19:19:49.224626')
|
800
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
801
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
802
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
803
|
+
[1m[35m (0.1ms)[0m begin transaction
|
804
|
+
-------------------------------------------------------------------
|
805
|
+
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
806
|
+
-------------------------------------------------------------------
|
807
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
808
|
+
[1m[35m (0.0ms)[0m begin transaction
|
809
|
+
-------------------------------------------------------------------
|
810
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
811
|
+
-------------------------------------------------------------------
|
812
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
813
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
814
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
815
|
+
[1m[35m (0.0ms)[0m begin transaction
|
816
|
+
-------------------------------------------
|
817
|
+
BulkInsertWorkerTest: test_default_set_size
|
818
|
+
-------------------------------------------
|
819
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
820
|
+
[1m[35m (0.0ms)[0m begin transaction
|
821
|
+
----------------------------------------------------------------
|
822
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
823
|
+
----------------------------------------------------------------
|
824
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-08 19:27:55.348942','2015-10-08 19:27:55.348942')[0m
|
825
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
826
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
827
|
+
[1m[35m (0.1ms)[0m begin transaction
|
828
|
+
-------------------------------------------------------------------------------
|
829
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
830
|
+
-------------------------------------------------------------------------------
|
831
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:27:55.357495','2015-10-08 19:27:55.357496')[0m
|
832
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
833
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
834
|
+
[1m[35m (0.1ms)[0m begin transaction
|
835
|
+
---------------------------------------------------------
|
836
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
837
|
+
---------------------------------------------------------
|
838
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:27:55.359588','2015-10-08 19:27:55.359588')[0m
|
839
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
840
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
841
|
+
------------------------------------------------------
|
842
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
843
|
+
------------------------------------------------------
|
844
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
845
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
846
|
+
--------------------------------------------------------
|
847
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
848
|
+
--------------------------------------------------------
|
849
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-08 19:27:55.361931','2015-10-08 19:27:55.361931'),('Hello',25,'t','2015-10-08 19:27:55.361931','2015-10-08 19:27:55.361931')
|
850
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
851
|
+
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
852
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
853
|
+
[1m[35m (0.1ms)[0m begin transaction
|
854
|
+
--------------------------------------------------------------------
|
855
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
856
|
+
--------------------------------------------------------------------
|
857
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
858
|
+
[1m[35m (0.1ms)[0m begin transaction
|
859
|
+
----------------------------------------------------------------------------------
|
860
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
861
|
+
----------------------------------------------------------------------------------
|
862
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:27:55.368129','2015-10-08 19:27:55.368129')[0m
|
863
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
864
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
865
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
866
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
867
|
+
[1m[35m (0.1ms)[0m begin transaction
|
868
|
+
-------------------------------------------------------------------
|
869
|
+
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
870
|
+
-------------------------------------------------------------------
|
871
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
872
|
+
[1m[35m (0.0ms)[0m begin transaction
|
873
|
+
--------------------------------------------------------------------
|
874
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
875
|
+
--------------------------------------------------------------------
|
876
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
877
|
+
[1m[35m (0.0ms)[0m begin transaction
|
878
|
+
------------------------------------------------------
|
879
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
880
|
+
------------------------------------------------------
|
881
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
882
|
+
[1m[35m (0.0ms)[0m begin transaction
|
883
|
+
---------------------------------------------------------
|
884
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
885
|
+
---------------------------------------------------------
|
886
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:28:19.695411','2015-10-08 19:28:19.695411')[0m
|
887
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
888
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
889
|
+
-------------------------------------------------------------------
|
890
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
891
|
+
-------------------------------------------------------------------
|
892
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
893
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
894
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
895
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
896
|
+
--------------------------------------------------------
|
897
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
898
|
+
--------------------------------------------------------
|
899
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-08 19:28:19.702958','2015-10-08 19:28:19.702958'),('Hello',25,'t','2015-10-08 19:28:19.702958','2015-10-08 19:28:19.702958')
|
900
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
901
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
902
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
903
|
+
[1m[35m (0.1ms)[0m begin transaction
|
904
|
+
----------------------------------------------------------------
|
905
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
906
|
+
----------------------------------------------------------------
|
907
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-08 19:28:19.713902','2015-10-08 19:28:19.713902')[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_default_set_size
|
913
|
+
-------------------------------------------
|
914
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
915
|
+
[1m[35m (0.1ms)[0m begin transaction
|
916
|
+
----------------------------------------------------------------------------------
|
917
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
918
|
+
----------------------------------------------------------------------------------
|
919
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:28:19.716840','2015-10-08 19:28:19.716840')[0m
|
920
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
921
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
922
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
923
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
924
|
+
-------------------------------------------------------------------------------
|
925
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
926
|
+
-------------------------------------------------------------------------------
|
927
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:28:19.718998','2015-10-08 19:28:19.719000')
|
928
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
929
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
930
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
931
|
+
[1m[35m (0.1ms)[0m begin transaction
|
932
|
+
---------------------------------------------------------------
|
933
|
+
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
934
|
+
---------------------------------------------------------------
|
935
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
936
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
937
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
938
|
+
[1m[35m (0.1ms)[0m begin transaction
|
939
|
+
-------------------------------------------------------------------
|
940
|
+
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
941
|
+
-------------------------------------------------------------------
|
942
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
943
|
+
[1m[35m (0.0ms)[0m begin transaction
|
944
|
+
-------------------------------------------
|
945
|
+
BulkInsertWorkerTest: test_default_set_size
|
946
|
+
-------------------------------------------
|
947
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
948
|
+
[1m[35m (0.1ms)[0m begin transaction
|
949
|
+
--------------------------------------------------------
|
950
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
951
|
+
--------------------------------------------------------
|
952
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-08 19:29:51.980737','2015-10-08 19:29:51.980737'),('Hello',25,'t','2015-10-08 19:29:51.980737','2015-10-08 19:29:51.980737')[0m
|
953
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
954
|
+
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
955
|
+
[1m[35m (2.3ms)[0m rollback transaction
|
956
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
957
|
+
------------------------------------------------------
|
958
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
959
|
+
------------------------------------------------------
|
960
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
961
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
962
|
+
----------------------------------------------------------------
|
963
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
964
|
+
----------------------------------------------------------------
|
965
|
+
[1m[35m (0.4ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-08 19:29:51.996477','2015-10-08 19:29:51.996477')
|
966
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
967
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
968
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
969
|
+
--------------------------------------------------------------------
|
970
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
971
|
+
--------------------------------------------------------------------
|
972
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
973
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
974
|
+
-------------------------------------------------------------------------------
|
975
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
976
|
+
-------------------------------------------------------------------------------
|
977
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:29:52.000596','2015-10-08 19:29:52.000598')
|
978
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
979
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
980
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
981
|
+
----------------------------------------------------------------------------------
|
982
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
983
|
+
----------------------------------------------------------------------------------
|
984
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:29:52.002596','2015-10-08 19:29:52.002596')
|
985
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
986
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
987
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
988
|
+
[1m[35m (0.1ms)[0m begin transaction
|
989
|
+
---------------------------------------------------------
|
990
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
991
|
+
---------------------------------------------------------
|
992
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:29:52.005251','2015-10-08 19:29:52.005251')[0m
|
993
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
994
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
995
|
+
-------------------------------------------------------------------
|
996
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
997
|
+
-------------------------------------------------------------------
|
998
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
999
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1000
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1001
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1002
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1003
|
+
--------------------------------------------------------
|
1004
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1005
|
+
--------------------------------------------------------
|
1006
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-08 19:30:46.363080','2015-10-08 19:30:46.363080'),('Hello',25,'t','2015-10-08 19:30:46.363080','2015-10-08 19:30:46.363080')[0m
|
1007
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
1008
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
1009
|
+
[1m[35m (2.6ms)[0m rollback transaction
|
1010
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1011
|
+
----------------------------------------------------------------------------------
|
1012
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1013
|
+
----------------------------------------------------------------------------------
|
1014
|
+
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:30:46.379389','2015-10-08 19:30:46.379389')
|
1015
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1016
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1017
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1018
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1019
|
+
----------------------------------------------------------------
|
1020
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1021
|
+
----------------------------------------------------------------
|
1022
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-08 19:30:46.382292','2015-10-08 19:30:46.382292')[0m
|
1023
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1024
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1025
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1026
|
+
--------------------------------------------------------------------
|
1027
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1028
|
+
--------------------------------------------------------------------
|
1029
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1030
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1031
|
+
-------------------------------------------------------------------------------
|
1032
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1033
|
+
-------------------------------------------------------------------------------
|
1034
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:30:46.384879','2015-10-08 19:30:46.384880')[0m
|
1035
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1036
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1037
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1038
|
+
-------------------------------------------
|
1039
|
+
BulkInsertWorkerTest: test_default_set_size
|
1040
|
+
-------------------------------------------
|
1041
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1042
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1043
|
+
------------------------------------------------------
|
1044
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1045
|
+
------------------------------------------------------
|
1046
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1047
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1048
|
+
---------------------------------------------------------
|
1049
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1050
|
+
---------------------------------------------------------
|
1051
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-08 19:30:46.388867','2015-10-08 19:30:46.388867')[0m
|
1052
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1053
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1054
|
+
-------------------------------------------------------------------
|
1055
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1056
|
+
-------------------------------------------------------------------
|
1057
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1058
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1059
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1060
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1061
|
+
---------------------------------------------------------------------
|
1062
|
+
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1063
|
+
---------------------------------------------------------------------
|
1064
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1065
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1066
|
+
[1m[35m (0.5ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',NULL,NULL,'2015-10-08 19:30:46.394298','2015-10-08 19:30:46.394301')
|
1067
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1068
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1069
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1070
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1071
|
+
---------------------------------------------------------------
|
1072
|
+
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1073
|
+
---------------------------------------------------------------
|
1074
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1075
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1076
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1077
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1078
|
+
-------------------------------------------------------------------
|
1079
|
+
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1080
|
+
-------------------------------------------------------------------
|
1081
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1082
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1083
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1084
|
+
---------------------------------------------------------------
|
1085
|
+
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1086
|
+
---------------------------------------------------------------
|
1087
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1088
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1089
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1090
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1091
|
+
---------------------------------------------------------------------
|
1092
|
+
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1093
|
+
---------------------------------------------------------------------
|
1094
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1095
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1096
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',NULL,NULL,'2015-10-09 03:35:12.083541','2015-10-09 03:35:12.083543')[0m
|
1097
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1098
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1099
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1100
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1101
|
+
-------------------------------------------------------------------
|
1102
|
+
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1103
|
+
-------------------------------------------------------------------
|
1104
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1105
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1106
|
+
------------------------------------------------------
|
1107
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1108
|
+
------------------------------------------------------
|
1109
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1110
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1111
|
+
-------------------------------------------
|
1112
|
+
BulkInsertWorkerTest: test_default_set_size
|
1113
|
+
-------------------------------------------
|
1114
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1115
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1116
|
+
----------------------------------------------------------------
|
1117
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1118
|
+
----------------------------------------------------------------
|
1119
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-09 03:35:12.090722','2015-10-09 03:35:12.090722')
|
1120
|
+
[1m[36mTesting Load (0.2ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1121
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1122
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1123
|
+
--------------------------------------------------------------------
|
1124
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1125
|
+
--------------------------------------------------------------------
|
1126
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1127
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1128
|
+
----------------------------------------------------------------------------------
|
1129
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1130
|
+
----------------------------------------------------------------------------------
|
1131
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 03:35:12.098305','2015-10-09 03:35:12.098305')
|
1132
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1133
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1134
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1135
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1136
|
+
-------------------------------------------------------------------------------
|
1137
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1138
|
+
-------------------------------------------------------------------------------
|
1139
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 03:35:12.100627','2015-10-09 03:35:12.100628')[0m
|
1140
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1141
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1142
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1143
|
+
--------------------------------------------------------
|
1144
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1145
|
+
--------------------------------------------------------
|
1146
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-09 03:35:12.102561','2015-10-09 03:35:12.102561'),('Hello',25,'t','2015-10-09 03:35:12.102561','2015-10-09 03:35:12.102561')[0m
|
1147
|
+
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
1148
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
1149
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1150
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1151
|
+
---------------------------------------------------------
|
1152
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1153
|
+
---------------------------------------------------------
|
1154
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 03:35:12.112592','2015-10-09 03:35:12.112592')
|
1155
|
+
[1m[36m (9.0ms)[0m [1mrollback transaction[0m
|
1156
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1157
|
+
-------------------------------------------------------------------
|
1158
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1159
|
+
-------------------------------------------------------------------
|
1160
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1161
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
1162
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1163
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1164
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1165
|
+
---------------------------------------------------------------------
|
1166
|
+
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1167
|
+
---------------------------------------------------------------------
|
1168
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1169
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1170
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',NULL,NULL,'2015-10-09 14:46:00.198423','2015-10-09 14:46:00.198425')[0m
|
1171
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1172
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1173
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1174
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1175
|
+
-------------------------------------------------------------------
|
1176
|
+
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1177
|
+
-------------------------------------------------------------------
|
1178
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1179
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1180
|
+
---------------------------------------------------------------
|
1181
|
+
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1182
|
+
---------------------------------------------------------------
|
1183
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1184
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1185
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1187
|
+
-------------------------------------------
|
1188
|
+
BulkInsertWorkerTest: test_default_set_size
|
1189
|
+
-------------------------------------------
|
1190
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1191
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1192
|
+
------------------------------------------------------
|
1193
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1194
|
+
------------------------------------------------------
|
1195
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1196
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1197
|
+
--------------------------------------------------------
|
1198
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1199
|
+
--------------------------------------------------------
|
1200
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-09 14:46:00.208247','2015-10-09 14:46:00.208247'),('Hello',25,'t','2015-10-09 14:46:00.208247','2015-10-09 14:46:00.208247')
|
1201
|
+
[1m[36mTesting Load (0.2ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
1202
|
+
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
1203
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1204
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1205
|
+
-------------------------------------------------------------------------------
|
1206
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1207
|
+
-------------------------------------------------------------------------------
|
1208
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 14:46:00.221284','2015-10-09 14:46:00.221285')[0m
|
1209
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1210
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1211
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1212
|
+
---------------------------------------------------------
|
1213
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1214
|
+
---------------------------------------------------------
|
1215
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 14:46:00.223669','2015-10-09 14:46:00.223669')[0m
|
1216
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1217
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1218
|
+
--------------------------------------------------------------------
|
1219
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1220
|
+
--------------------------------------------------------------------
|
1221
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1223
|
+
----------------------------------------------------------------------------------
|
1224
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1225
|
+
----------------------------------------------------------------------------------
|
1226
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 14:46:00.225847','2015-10-09 14:46:00.225847')
|
1227
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1228
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1229
|
+
[1m[36m (1.6ms)[0m [1mrollback transaction[0m
|
1230
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1231
|
+
----------------------------------------------------------------
|
1232
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1233
|
+
----------------------------------------------------------------
|
1234
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-09 14:46:00.229546','2015-10-09 14:46:00.229546')[0m
|
1235
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1236
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1237
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1238
|
+
-------------------------------------------------------------------
|
1239
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1240
|
+
-------------------------------------------------------------------
|
1241
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1242
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1243
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1244
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1245
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1246
|
+
----------------------------------------------------------------
|
1247
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1248
|
+
----------------------------------------------------------------
|
1249
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-09 14:48:19.244536','2015-10-09 14:48:19.244536')[0m
|
1250
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1251
|
+
[1m[36m (2.9ms)[0m [1mrollback transaction[0m
|
1252
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1253
|
+
-------------------------------------------------------------------------------
|
1254
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1255
|
+
-------------------------------------------------------------------------------
|
1256
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 14:48:19.256256','2015-10-09 14:48:19.256257')[0m
|
1257
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1258
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1259
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1260
|
+
------------------------------------------------------
|
1261
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1262
|
+
------------------------------------------------------
|
1263
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1264
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1265
|
+
-------------------------------------------
|
1266
|
+
BulkInsertWorkerTest: test_default_set_size
|
1267
|
+
-------------------------------------------
|
1268
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1269
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1270
|
+
--------------------------------------------------------------------
|
1271
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1272
|
+
--------------------------------------------------------------------
|
1273
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1274
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1275
|
+
-------------------------------------------------------------------
|
1276
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1277
|
+
-------------------------------------------------------------------
|
1278
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1279
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
1280
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1281
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1282
|
+
--------------------------------------------------------
|
1283
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1284
|
+
--------------------------------------------------------
|
1285
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-09 14:48:19.262675','2015-10-09 14:48:19.262675'),('Hello',25,'t','2015-10-09 14:48:19.262675','2015-10-09 14:48:19.262675')[0m
|
1286
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
1287
|
+
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
1288
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1289
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1290
|
+
---------------------------------------------------------
|
1291
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1292
|
+
---------------------------------------------------------
|
1293
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 14:48:19.268550','2015-10-09 14:48:19.268550')
|
1294
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1295
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1296
|
+
----------------------------------------------------------------------------------
|
1297
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1298
|
+
----------------------------------------------------------------------------------
|
1299
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 14:48:19.270250','2015-10-09 14:48:19.270250')[0m
|
1300
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1301
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1302
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1303
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1304
|
+
---------------------------------------------------------------
|
1305
|
+
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1306
|
+
---------------------------------------------------------------
|
1307
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1308
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1309
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1310
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1311
|
+
---------------------------------------------------------------------
|
1312
|
+
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1313
|
+
---------------------------------------------------------------------
|
1314
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1315
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1316
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',NULL,NULL,'2015-10-09 14:48:19.274780','2015-10-09 14:48:19.274782')
|
1317
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1318
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
1319
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
1320
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1321
|
+
-------------------------------------------------------------------
|
1322
|
+
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1323
|
+
-------------------------------------------------------------------
|
1324
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1325
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1326
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1327
|
+
---------------------------------------------------------------------
|
1328
|
+
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1329
|
+
---------------------------------------------------------------------
|
1330
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1331
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1332
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',NULL,NULL,'2015-10-09 14:54:29.775395','2015-10-09 14:54:29.775397')[0m
|
1333
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1334
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1335
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
1336
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1337
|
+
-------------------------------------------------------------------
|
1338
|
+
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1339
|
+
-------------------------------------------------------------------
|
1340
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1341
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1342
|
+
---------------------------------------------------------------
|
1343
|
+
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1344
|
+
---------------------------------------------------------------
|
1345
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1346
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1347
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1348
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1349
|
+
--------------------------------------------------------------------
|
1350
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1351
|
+
--------------------------------------------------------------------
|
1352
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1353
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1354
|
+
-------------------------------------------------------------------------------
|
1355
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1356
|
+
-------------------------------------------------------------------------------
|
1357
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 14:54:29.786767','2015-10-09 14:54:29.786768')
|
1358
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1359
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1360
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1361
|
+
----------------------------------------------------------------
|
1362
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1363
|
+
----------------------------------------------------------------
|
1364
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-09 14:54:29.794916','2015-10-09 14:54:29.794916')
|
1365
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1366
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1367
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1368
|
+
--------------------------------------------------------
|
1369
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1370
|
+
--------------------------------------------------------
|
1371
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-09 14:54:29.797049','2015-10-09 14:54:29.797049'),('Hello',25,'t','2015-10-09 14:54:29.797049','2015-10-09 14:54:29.797049')
|
1372
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Yo"]]
|
1373
|
+
[1m[35mTesting Load (0.0ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Hello"]]
|
1374
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1375
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1376
|
+
-------------------------------------------------------------------
|
1377
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1378
|
+
-------------------------------------------------------------------
|
1379
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1380
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
1381
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1382
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1383
|
+
-------------------------------------------
|
1384
|
+
BulkInsertWorkerTest: test_default_set_size
|
1385
|
+
-------------------------------------------
|
1386
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1387
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1388
|
+
----------------------------------------------------------------------------------
|
1389
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1390
|
+
----------------------------------------------------------------------------------
|
1391
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 14:54:29.806465','2015-10-09 14:54:29.806465')[0m
|
1392
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1393
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1394
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1395
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1396
|
+
---------------------------------------------------------
|
1397
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1398
|
+
---------------------------------------------------------
|
1399
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 14:54:29.809471','2015-10-09 14:54:29.809471')
|
1400
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1401
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1402
|
+
------------------------------------------------------
|
1403
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1404
|
+
------------------------------------------------------
|
1405
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1406
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1407
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1408
|
+
------------------------------------------------------
|
1409
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1410
|
+
------------------------------------------------------
|
1411
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1412
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1413
|
+
-------------------------------------------------------------------------------
|
1414
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1415
|
+
-------------------------------------------------------------------------------
|
1416
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 17:03:16.852866','2015-10-09 17:03:16.852867')[0m
|
1417
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1418
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1419
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1420
|
+
---------------------------------------------------------
|
1421
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1422
|
+
---------------------------------------------------------
|
1423
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 17:03:16.863828','2015-10-09 17:03:16.863828')[0m
|
1424
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1425
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1426
|
+
----------------------------------------------------------------
|
1427
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1428
|
+
----------------------------------------------------------------
|
1429
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-09 17:03:16.865241','2015-10-09 17:03:16.865241')
|
1430
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1431
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1432
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1433
|
+
----------------------------------------------------------------------------------
|
1434
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1435
|
+
----------------------------------------------------------------------------------
|
1436
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 17:03:16.867520','2015-10-09 17:03:16.867520')
|
1437
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1438
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1439
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1440
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1441
|
+
--------------------------------------------------------
|
1442
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1443
|
+
--------------------------------------------------------
|
1444
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-09 17:03:16.870060','2015-10-09 17:03:16.870060'),('Hello',25,'t','2015-10-09 17:03:16.870060','2015-10-09 17:03:16.870060')[0m
|
1445
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
1446
|
+
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
1447
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1448
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1449
|
+
--------------------------------------------------------------------
|
1450
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1451
|
+
--------------------------------------------------------------------
|
1452
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1453
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1454
|
+
-------------------------------------------------------------------
|
1455
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1456
|
+
-------------------------------------------------------------------
|
1457
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1458
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1459
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1460
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1461
|
+
-------------------------------------------
|
1462
|
+
BulkInsertWorkerTest: test_default_set_size
|
1463
|
+
-------------------------------------------
|
1464
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1465
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1466
|
+
-------------------------------------------------------------------
|
1467
|
+
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1468
|
+
-------------------------------------------------------------------
|
1469
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1470
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1471
|
+
---------------------------------------------------------------
|
1472
|
+
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1473
|
+
---------------------------------------------------------------
|
1474
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1475
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1476
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1477
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1478
|
+
---------------------------------------------------------------------
|
1479
|
+
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1480
|
+
---------------------------------------------------------------------
|
1481
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1482
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1483
|
+
[1m[35m (0.3ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',NULL,NULL,'2015-10-09 17:03:16.884635','2015-10-09 17:03:16.884637')
|
1484
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1485
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "testings"
|
1486
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1487
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1488
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1489
|
+
--------------------------------------------------------
|
1490
|
+
BulkInsertWorkerTest: test_save!_inserts_pending_records
|
1491
|
+
--------------------------------------------------------
|
1492
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',15,'f','2015-10-09 18:49:52.551285','2015-10-09 18:49:52.551285'),('Hello',25,'t','2015-10-09 18:49:52.551285','2015-10-09 18:49:52.551285')[0m
|
1493
|
+
[1m[35mTesting Load (0.2ms)[0m SELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1 [["greeting", "Yo"]]
|
1494
|
+
[1m[36mTesting Load (0.0ms)[0m [1mSELECT "testings".* FROM "testings" WHERE "testings"."greeting" = ? LIMIT 1[0m [["greeting", "Hello"]]
|
1495
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1496
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1497
|
+
----------------------------------------------------------------------------------
|
1498
|
+
BulkInsertWorkerTest: test_add_should_save_automatically_when_overflowing_set_size
|
1499
|
+
----------------------------------------------------------------------------------
|
1500
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 18:49:52.569935','2015-10-09 18:49:52.569935')
|
1501
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1502
|
+
[1m[35mTesting Load (0.1ms)[0m SELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1
|
1503
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1504
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1505
|
+
---------------------------------------------------------
|
1506
|
+
BulkInsertWorkerTest: test_save!_makes_insert_not_pending
|
1507
|
+
---------------------------------------------------------
|
1508
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 18:49:52.572592','2015-10-09 18:49:52.572592')[0m
|
1509
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1510
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1511
|
+
-------------------------------------------------------------------------------
|
1512
|
+
BulkInsertWorkerTest: test_add_should_default_timestamp_columns_to_current_time
|
1513
|
+
-------------------------------------------------------------------------------
|
1514
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',15,'t','2015-10-09 18:49:52.574026','2015-10-09 18:49:52.574028')
|
1515
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1516
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1517
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1518
|
+
------------------------------------------------------
|
1519
|
+
BulkInsertWorkerTest: test_empty_insert_is_not_pending
|
1520
|
+
------------------------------------------------------
|
1521
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1522
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1523
|
+
-------------------------------------------
|
1524
|
+
BulkInsertWorkerTest: test_default_set_size
|
1525
|
+
-------------------------------------------
|
1526
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1527
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1528
|
+
-------------------------------------------------------------------
|
1529
|
+
BulkInsertWorkerTest: test_save!_when_not_pending_should_do_nothing
|
1530
|
+
-------------------------------------------------------------------
|
1531
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
1532
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "testings"[0m
|
1533
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1534
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1535
|
+
--------------------------------------------------------------------
|
1536
|
+
BulkInsertWorkerTest: test_adding_row_to_insert_makes_insert_pending
|
1537
|
+
--------------------------------------------------------------------
|
1538
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1539
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1540
|
+
----------------------------------------------------------------
|
1541
|
+
BulkInsertWorkerTest: test_add_should_allow_values_given_as_Hash
|
1542
|
+
----------------------------------------------------------------
|
1543
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Yo',20,'f','2015-10-09 18:49:52.579549','2015-10-09 18:49:52.579549')
|
1544
|
+
[1m[36mTesting Load (0.1ms)[0m [1mSELECT "testings".* FROM "testings" ORDER BY "testings"."id" ASC LIMIT 1[0m
|
1545
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1546
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1547
|
+
-------------------------------------------------------------------
|
1548
|
+
BulkInsertTest: test_bulk_insert_without_block_should_return_worker
|
1549
|
+
-------------------------------------------------------------------
|
1550
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1551
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1552
|
+
---------------------------------------------------------------
|
1553
|
+
BulkInsertTest: test_bulk_insert_with_block_should_yield_worker
|
1554
|
+
---------------------------------------------------------------
|
1555
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1556
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1557
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1558
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1559
|
+
---------------------------------------------------------------------
|
1560
|
+
BulkInsertTest: test_bulk_insert_with_block_should_save_automatically
|
1561
|
+
---------------------------------------------------------------------
|
1562
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "testings"
|
1563
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1564
|
+
[1m[35m (0.2ms)[0m INSERT INTO "testings" ("greeting","age","happy","created_at","updated_at") VALUES ('Hello',NULL,NULL,'2015-10-09 18:49:52.598942','2015-10-09 18:49:52.598944')
|
1565
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1566
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "testings"
|
1567
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|