@docstack/pouchdb-adapter-googledrive 0.0.9 → 0.1.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.
- package/package.json +1 -1
- package/compaction_test.log +0 -725
- package/docs/DEBUG_BIDIRECTIONAL_REPLICATION.ipynb +0 -481
- package/docs/DOCUMENTATION.md +0 -115
- package/docs/PROMISE_SUPPORT.md +0 -75
- package/docs/REPLICATION_ISSUE.md +0 -63
- package/emulation-test.log +0 -163
- package/failing_test.log +0 -31
- package/final_test.log +0 -2620
- package/live_test.log +0 -1209
- package/test_output.log +0 -563
- package/test_output_2.log +0 -1408
- package/test_output_3.log +0 -2445
package/test_output.log
DELETED
|
@@ -1,563 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @docstack/pouchdb-adapter-googledrive@0.0.8 test
|
|
3
|
-
> jest
|
|
4
|
-
|
|
5
|
-
PASS tests/replication_mock.test.ts (6.055 s)
|
|
6
|
-
● Console
|
|
7
|
-
|
|
8
|
-
console.log
|
|
9
|
-
Initializing DriveHandler with options: {
|
|
10
|
-
accessToken: 'mock-token',
|
|
11
|
-
name: 'test-repl',
|
|
12
|
-
folderName: 'test-repl'
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
at new GoogleDrivePouch (src/adapter.ts:44:17)
|
|
16
|
-
|
|
17
|
-
console.log
|
|
18
|
-
[googledrive-drive] [test-repl] Loading database, options {
|
|
19
|
-
options: {
|
|
20
|
-
accessToken: 'mock-token',
|
|
21
|
-
name: 'test-repl',
|
|
22
|
-
folderName: 'test-repl'
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
27
|
-
|
|
28
|
-
console.log
|
|
29
|
-
[googledrive-drive] [test-repl] Retrieved folder { folderId: 'file-17741775329760.5098095082280947' }
|
|
30
|
-
|
|
31
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
32
|
-
|
|
33
|
-
console.log
|
|
34
|
-
[googledrive-drive] [test-repl] Meta file not found, creating new
|
|
35
|
-
|
|
36
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
37
|
-
|
|
38
|
-
console.log
|
|
39
|
-
[googledrive-drive] [test-repl] Replaying change logs
|
|
40
|
-
|
|
41
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
42
|
-
|
|
43
|
-
console.log
|
|
44
|
-
[googledrive-drive] [test-repl] Polling disabled (no interval provided)
|
|
45
|
-
|
|
46
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
47
|
-
|
|
48
|
-
console.log
|
|
49
|
-
Initializing DriveHandler with options: {
|
|
50
|
-
accessToken: 'mock-token',
|
|
51
|
-
name: 'test-repl',
|
|
52
|
-
folderName: 'test-repl'
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
at new GoogleDrivePouch (src/adapter.ts:44:17)
|
|
56
|
-
|
|
57
|
-
console.log
|
|
58
|
-
[googledrive-drive] [test-repl] Loading database, options {
|
|
59
|
-
options: {
|
|
60
|
-
accessToken: 'mock-token',
|
|
61
|
-
name: 'test-repl',
|
|
62
|
-
folderName: 'test-repl'
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
67
|
-
|
|
68
|
-
console.log
|
|
69
|
-
[googledrive-drive] [test-repl] Retrieved folder { folderId: 'file-17741775329910.49442182625116726' }
|
|
70
|
-
|
|
71
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
72
|
-
|
|
73
|
-
console.log
|
|
74
|
-
[googledrive-drive] [test-repl] Meta file not found, creating new
|
|
75
|
-
|
|
76
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
77
|
-
|
|
78
|
-
console.log
|
|
79
|
-
[googledrive-drive] [test-repl] Replaying change logs
|
|
80
|
-
|
|
81
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
82
|
-
|
|
83
|
-
console.log
|
|
84
|
-
[googledrive-drive] [test-repl] Polling disabled (no interval provided)
|
|
85
|
-
|
|
86
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
87
|
-
|
|
88
|
-
FAIL tests/compaction.test.ts
|
|
89
|
-
● Test suite failed to run
|
|
90
|
-
|
|
91
|
-
Cannot find module 'qs' from 'node_modules/express/lib/utils.js'
|
|
92
|
-
|
|
93
|
-
Require stack:
|
|
94
|
-
node_modules/express/lib/utils.js
|
|
95
|
-
node_modules/express/lib/application.js
|
|
96
|
-
node_modules/express/lib/express.js
|
|
97
|
-
node_modules/express/index.js
|
|
98
|
-
tests-src/server.ts
|
|
99
|
-
tests/compaction.test.ts
|
|
100
|
-
|
|
101
|
-
1 |
|
|
102
|
-
> 2 | import express, { Express, Request, Response } from 'express';
|
|
103
|
-
| ^
|
|
104
|
-
3 | import fs from 'fs';
|
|
105
|
-
4 | import path from 'path';
|
|
106
|
-
5 |
|
|
107
|
-
|
|
108
|
-
at Resolver._throwModNotFoundError (node_modules/jest-resolve/build/index.js:863:11)
|
|
109
|
-
at Object.<anonymous> (node_modules/express/lib/utils.js:20:10)
|
|
110
|
-
at Object.<anonymous> (node_modules/express/lib/application.js:20:15)
|
|
111
|
-
at Object.<anonymous> (node_modules/express/lib/express.js:18:13)
|
|
112
|
-
at Object.<anonymous> (node_modules/express/index.js:11:18)
|
|
113
|
-
at Object.<anonymous> (tests-src/server.ts:2:1)
|
|
114
|
-
at Object.<anonymous> (tests/compaction.test.ts:5:1)
|
|
115
|
-
|
|
116
|
-
FAIL tests/adapter.test.ts
|
|
117
|
-
● Test suite failed to run
|
|
118
|
-
|
|
119
|
-
Cannot find module 'qs' from 'node_modules/express/lib/utils.js'
|
|
120
|
-
|
|
121
|
-
Require stack:
|
|
122
|
-
node_modules/express/lib/utils.js
|
|
123
|
-
node_modules/express/lib/application.js
|
|
124
|
-
node_modules/express/lib/express.js
|
|
125
|
-
node_modules/express/index.js
|
|
126
|
-
tests-src/server.ts
|
|
127
|
-
tests/adapter.test.ts
|
|
128
|
-
|
|
129
|
-
1 |
|
|
130
|
-
> 2 | import express, { Express, Request, Response } from 'express';
|
|
131
|
-
| ^
|
|
132
|
-
3 | import fs from 'fs';
|
|
133
|
-
4 | import path from 'path';
|
|
134
|
-
5 |
|
|
135
|
-
|
|
136
|
-
at Resolver._throwModNotFoundError (node_modules/jest-resolve/build/index.js:863:11)
|
|
137
|
-
at Object.<anonymous> (node_modules/express/lib/utils.js:20:10)
|
|
138
|
-
at Object.<anonymous> (node_modules/express/lib/application.js:20:15)
|
|
139
|
-
at Object.<anonymous> (node_modules/express/lib/express.js:18:13)
|
|
140
|
-
at Object.<anonymous> (node_modules/express/index.js:11:18)
|
|
141
|
-
at Object.<anonymous> (tests-src/server.ts:2:1)
|
|
142
|
-
at Object.<anonymous> (tests/adapter.test.ts:4:1)
|
|
143
|
-
|
|
144
|
-
FAIL tests/emulation.test.ts
|
|
145
|
-
● Test suite failed to run
|
|
146
|
-
|
|
147
|
-
Cannot find module 'qs' from 'node_modules/express/lib/utils.js'
|
|
148
|
-
|
|
149
|
-
Require stack:
|
|
150
|
-
node_modules/express/lib/utils.js
|
|
151
|
-
node_modules/express/lib/application.js
|
|
152
|
-
node_modules/express/lib/express.js
|
|
153
|
-
node_modules/express/index.js
|
|
154
|
-
tests-src/server.ts
|
|
155
|
-
tests/emulation.test.ts
|
|
156
|
-
|
|
157
|
-
1 |
|
|
158
|
-
> 2 | import express, { Express, Request, Response } from 'express';
|
|
159
|
-
| ^
|
|
160
|
-
3 | import fs from 'fs';
|
|
161
|
-
4 | import path from 'path';
|
|
162
|
-
5 |
|
|
163
|
-
|
|
164
|
-
at Resolver._throwModNotFoundError (node_modules/jest-resolve/build/index.js:863:11)
|
|
165
|
-
at Object.<anonymous> (node_modules/express/lib/utils.js:20:10)
|
|
166
|
-
at Object.<anonymous> (node_modules/express/lib/application.js:20:15)
|
|
167
|
-
at Object.<anonymous> (node_modules/express/lib/express.js:18:13)
|
|
168
|
-
at Object.<anonymous> (node_modules/express/index.js:11:18)
|
|
169
|
-
at Object.<anonymous> (tests-src/server.ts:2:1)
|
|
170
|
-
at Object.<anonymous> (tests/emulation.test.ts:5:1)
|
|
171
|
-
|
|
172
|
-
PASS tests/concurrency_mock.test.ts (6.853 s)
|
|
173
|
-
● Console
|
|
174
|
-
|
|
175
|
-
console.log
|
|
176
|
-
[googledrive-drive] [test-db] Loading database, options { options: { accessToken: 'token', folderName: 'test-db' } }
|
|
177
|
-
|
|
178
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
179
|
-
|
|
180
|
-
console.log
|
|
181
|
-
[googledrive-drive] [test-db] Retrieved folder { folderId: 'file-17741775329200.0579868194138673' }
|
|
182
|
-
|
|
183
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
184
|
-
|
|
185
|
-
console.log
|
|
186
|
-
[googledrive-drive] [test-db] Meta file not found, creating new
|
|
187
|
-
|
|
188
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
189
|
-
|
|
190
|
-
console.log
|
|
191
|
-
[googledrive-drive] [test-db] Replaying change logs
|
|
192
|
-
|
|
193
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
194
|
-
|
|
195
|
-
console.log
|
|
196
|
-
[googledrive-drive] [test-db] Polling disabled (no interval provided)
|
|
197
|
-
|
|
198
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
199
|
-
|
|
200
|
-
console.log
|
|
201
|
-
[googledrive-drive] [test-db] Loading database, options { options: { accessToken: 'token', folderName: 'test-db' } }
|
|
202
|
-
|
|
203
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
204
|
-
|
|
205
|
-
console.log
|
|
206
|
-
[googledrive-drive] [test-db] Retrieved folder { folderId: 'file-17741775329200.0579868194138673' }
|
|
207
|
-
|
|
208
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
209
|
-
|
|
210
|
-
console.log
|
|
211
|
-
[googledrive-drive] [test-db] Retrieved meta file { fileId: 'file-17741775329540.3600236631329017' }
|
|
212
|
-
|
|
213
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
214
|
-
|
|
215
|
-
console.log
|
|
216
|
-
[googledrive-drive] [test-db] fetchFile downloading file-17741775329540.3600236631329017
|
|
217
|
-
|
|
218
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
219
|
-
|
|
220
|
-
console.log
|
|
221
|
-
[googledrive-drive] [test-db] Replaying change logs
|
|
222
|
-
|
|
223
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
224
|
-
|
|
225
|
-
console.log
|
|
226
|
-
[googledrive-drive] [test-db] Polling disabled (no interval provided)
|
|
227
|
-
|
|
228
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
229
|
-
|
|
230
|
-
console.log
|
|
231
|
-
[googledrive-drive] [test-db] Loading database, options { options: { accessToken: 'token', folderName: 'test-db' } }
|
|
232
|
-
|
|
233
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
234
|
-
at async Promise.all (index 1)
|
|
235
|
-
|
|
236
|
-
console.log
|
|
237
|
-
[googledrive-drive] [test-db] Retrieved meta file { fileId: 'file-17741775329540.3600236631329017' }
|
|
238
|
-
|
|
239
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
240
|
-
at async Promise.all (index 1)
|
|
241
|
-
|
|
242
|
-
console.log
|
|
243
|
-
[googledrive-drive] [test-db] fetchFile downloading file-17741775329540.3600236631329017
|
|
244
|
-
|
|
245
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
246
|
-
at async Promise.all (index 1)
|
|
247
|
-
|
|
248
|
-
console.log
|
|
249
|
-
[googledrive-drive] [test-db] Replaying change logs
|
|
250
|
-
|
|
251
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
252
|
-
at async Promise.all (index 1)
|
|
253
|
-
|
|
254
|
-
console.log
|
|
255
|
-
[googledrive-drive] [test-db] Replaying change log file-17741775330050.484537573708935
|
|
256
|
-
|
|
257
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
258
|
-
at async Promise.all (index 1)
|
|
259
|
-
|
|
260
|
-
console.log
|
|
261
|
-
[googledrive-drive] [test-db] fetchFile downloading file-17741775330050.484537573708935
|
|
262
|
-
|
|
263
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
264
|
-
at async Promise.all (index 1)
|
|
265
|
-
|
|
266
|
-
console.log
|
|
267
|
-
[googledrive-drive] [test-db] Unexpected changes {
|
|
268
|
-
changes: {
|
|
269
|
-
seq: 1,
|
|
270
|
-
id: 'doc1',
|
|
271
|
-
rev: '1-a',
|
|
272
|
-
timestamp: 1774177532993,
|
|
273
|
-
doc: { val: 1 }
|
|
274
|
-
},
|
|
275
|
-
logId: 'file-17741775330050.484537573708935'
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
279
|
-
at async Promise.all (index 1)
|
|
280
|
-
|
|
281
|
-
console.log
|
|
282
|
-
[googledrive-drive] [test-db] Downloaded changes not an array, wrapping/ignoring object
|
|
283
|
-
|
|
284
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
285
|
-
at async Promise.all (index 1)
|
|
286
|
-
|
|
287
|
-
console.log
|
|
288
|
-
[googledrive-drive] [test-db] Replayed change log file-17741775330050.484537573708935
|
|
289
|
-
|
|
290
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
291
|
-
at async Promise.all (index 1)
|
|
292
|
-
|
|
293
|
-
console.log
|
|
294
|
-
[googledrive-drive] [test-db] Processing change, sequence 1
|
|
295
|
-
|
|
296
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
297
|
-
at async Promise.all (index 1)
|
|
298
|
-
|
|
299
|
-
console.log
|
|
300
|
-
[googledrive-drive] [test-db] Processed log file-17741775330050.484537573708935
|
|
301
|
-
|
|
302
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
303
|
-
at async Promise.all (index 1)
|
|
304
|
-
|
|
305
|
-
console.log
|
|
306
|
-
[googledrive-drive] [test-db] Polling disabled (no interval provided)
|
|
307
|
-
|
|
308
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
309
|
-
at async Promise.all (index 1)
|
|
310
|
-
|
|
311
|
-
console.log
|
|
312
|
-
[googledrive-drive] [test-db] Loading database, options { options: { accessToken: 'token', folderName: 'test-db' } }
|
|
313
|
-
|
|
314
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
315
|
-
|
|
316
|
-
console.log
|
|
317
|
-
[googledrive-drive] [test-db] Retrieved meta file { fileId: 'file-17741775329540.3600236631329017' }
|
|
318
|
-
|
|
319
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
320
|
-
|
|
321
|
-
console.log
|
|
322
|
-
[googledrive-drive] [test-db] fetchFile downloading file-17741775329540.3600236631329017
|
|
323
|
-
|
|
324
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
325
|
-
|
|
326
|
-
console.log
|
|
327
|
-
[googledrive-drive] [test-db] Replaying change logs
|
|
328
|
-
|
|
329
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
330
|
-
|
|
331
|
-
console.log
|
|
332
|
-
[googledrive-drive] [test-db] Replaying change log file-17741775330050.484537573708935
|
|
333
|
-
|
|
334
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
335
|
-
|
|
336
|
-
console.log
|
|
337
|
-
[googledrive-drive] [test-db] fetchFile downloading file-17741775330050.484537573708935
|
|
338
|
-
|
|
339
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
340
|
-
|
|
341
|
-
console.log
|
|
342
|
-
[googledrive-drive] [test-db] Unexpected changes {
|
|
343
|
-
changes: {
|
|
344
|
-
seq: 1,
|
|
345
|
-
id: 'doc1',
|
|
346
|
-
rev: '1-a',
|
|
347
|
-
timestamp: 1774177532993,
|
|
348
|
-
doc: { val: 1 }
|
|
349
|
-
},
|
|
350
|
-
logId: 'file-17741775330050.484537573708935'
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
354
|
-
|
|
355
|
-
console.log
|
|
356
|
-
[googledrive-drive] [test-db] Downloaded changes not an array, wrapping/ignoring object
|
|
357
|
-
|
|
358
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
359
|
-
|
|
360
|
-
console.log
|
|
361
|
-
[googledrive-drive] [test-db] Replayed change log file-17741775330050.484537573708935
|
|
362
|
-
|
|
363
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
364
|
-
|
|
365
|
-
console.log
|
|
366
|
-
[googledrive-drive] [test-db] Processing change, sequence 1
|
|
367
|
-
|
|
368
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
369
|
-
|
|
370
|
-
console.log
|
|
371
|
-
[googledrive-drive] [test-db] Processed log file-17741775330050.484537573708935
|
|
372
|
-
|
|
373
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
374
|
-
|
|
375
|
-
console.log
|
|
376
|
-
[googledrive-drive] [test-db] Replaying change log file-17741775335290.2845103366821222
|
|
377
|
-
|
|
378
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
379
|
-
|
|
380
|
-
console.log
|
|
381
|
-
[googledrive-drive] [test-db] fetchFile downloading file-17741775335290.2845103366821222
|
|
382
|
-
|
|
383
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
384
|
-
|
|
385
|
-
console.log
|
|
386
|
-
[googledrive-drive] [test-db] Unexpected changes {
|
|
387
|
-
changes: {
|
|
388
|
-
seq: 2,
|
|
389
|
-
id: 'doc2',
|
|
390
|
-
rev: '1-b',
|
|
391
|
-
timestamp: 1774177532993,
|
|
392
|
-
doc: { val: 2 }
|
|
393
|
-
},
|
|
394
|
-
logId: 'file-17741775335290.2845103366821222'
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
398
|
-
|
|
399
|
-
console.log
|
|
400
|
-
[googledrive-drive] [test-db] Downloaded changes not an array, wrapping/ignoring object
|
|
401
|
-
|
|
402
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
403
|
-
|
|
404
|
-
console.log
|
|
405
|
-
[googledrive-drive] [test-db] Replayed change log file-17741775335290.2845103366821222
|
|
406
|
-
|
|
407
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
408
|
-
|
|
409
|
-
console.log
|
|
410
|
-
[googledrive-drive] [test-db] Processing change, sequence 2
|
|
411
|
-
|
|
412
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
413
|
-
|
|
414
|
-
console.log
|
|
415
|
-
[googledrive-drive] [test-db] Processed log file-17741775335290.2845103366821222
|
|
416
|
-
|
|
417
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
418
|
-
|
|
419
|
-
console.log
|
|
420
|
-
[googledrive-drive] [test-db] Polling disabled (no interval provided)
|
|
421
|
-
|
|
422
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
423
|
-
|
|
424
|
-
console.log
|
|
425
|
-
[googledrive-drive] [test-db] fetchFile cache hit file-17741775330050.484537573708935
|
|
426
|
-
|
|
427
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
428
|
-
|
|
429
|
-
console.log
|
|
430
|
-
[googledrive-drive] [test-db] fetchFile cache hit file-17741775335290.2845103366821222
|
|
431
|
-
|
|
432
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
433
|
-
|
|
434
|
-
console.log
|
|
435
|
-
[googledrive-drive] [test-db] Loading database, options { options: { accessToken: 'token', folderName: 'test-db' } }
|
|
436
|
-
|
|
437
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
438
|
-
|
|
439
|
-
console.log
|
|
440
|
-
[googledrive-drive] [test-db] Retrieved folder { folderId: 'file-17741775336280.8833857744766178' }
|
|
441
|
-
|
|
442
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
443
|
-
|
|
444
|
-
console.log
|
|
445
|
-
[googledrive-drive] [test-db] Meta file not found, creating new
|
|
446
|
-
|
|
447
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
448
|
-
|
|
449
|
-
console.log
|
|
450
|
-
[googledrive-drive] [test-db] Replaying change logs
|
|
451
|
-
|
|
452
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
453
|
-
|
|
454
|
-
console.log
|
|
455
|
-
[googledrive-drive] [test-db] Polling disabled (no interval provided)
|
|
456
|
-
|
|
457
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
458
|
-
|
|
459
|
-
console.log
|
|
460
|
-
[googledrive-drive] [test-db] Loading database, options { options: { accessToken: 'token', folderName: 'test-db' } }
|
|
461
|
-
|
|
462
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
463
|
-
|
|
464
|
-
console.log
|
|
465
|
-
[googledrive-drive] [test-db] Retrieved folder { folderId: 'file-17741775336280.8833857744766178' }
|
|
466
|
-
|
|
467
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
468
|
-
|
|
469
|
-
console.log
|
|
470
|
-
[googledrive-drive] [test-db] Retrieved meta file { fileId: 'file-17741775336610.23180992233309028' }
|
|
471
|
-
|
|
472
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
473
|
-
|
|
474
|
-
console.log
|
|
475
|
-
[googledrive-drive] [test-db] fetchFile downloading file-17741775336610.23180992233309028
|
|
476
|
-
|
|
477
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
478
|
-
|
|
479
|
-
console.log
|
|
480
|
-
[googledrive-drive] [test-db] Replaying change logs
|
|
481
|
-
|
|
482
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
483
|
-
|
|
484
|
-
console.log
|
|
485
|
-
[googledrive-drive] [test-db] Polling disabled (no interval provided)
|
|
486
|
-
|
|
487
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
488
|
-
|
|
489
|
-
console.log
|
|
490
|
-
[googledrive-drive] [test-db] Loading database, options { options: { accessToken: 'token', folderName: 'test-db' } }
|
|
491
|
-
|
|
492
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
493
|
-
|
|
494
|
-
console.log
|
|
495
|
-
[googledrive-drive] [test-db] Retrieved meta file { fileId: 'file-17741775336610.23180992233309028' }
|
|
496
|
-
|
|
497
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
498
|
-
|
|
499
|
-
console.log
|
|
500
|
-
[googledrive-drive] [test-db] fetchFile downloading file-17741775336610.23180992233309028
|
|
501
|
-
|
|
502
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
503
|
-
|
|
504
|
-
console.log
|
|
505
|
-
[googledrive-drive] [test-db] Replaying change logs
|
|
506
|
-
|
|
507
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
508
|
-
|
|
509
|
-
console.log
|
|
510
|
-
[googledrive-drive] [test-db] Replaying change log file-17741775337080.15733355955441297
|
|
511
|
-
|
|
512
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
513
|
-
|
|
514
|
-
console.log
|
|
515
|
-
[googledrive-drive] [test-db] fetchFile downloading file-17741775337080.15733355955441297
|
|
516
|
-
|
|
517
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
518
|
-
|
|
519
|
-
console.log
|
|
520
|
-
[googledrive-drive] [test-db] Unexpected changes {
|
|
521
|
-
changes: {
|
|
522
|
-
seq: 1,
|
|
523
|
-
id: 'doc1',
|
|
524
|
-
rev: '1-a',
|
|
525
|
-
timestamp: 1774177533698,
|
|
526
|
-
doc: { val: 1 }
|
|
527
|
-
},
|
|
528
|
-
logId: 'file-17741775337080.15733355955441297'
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
532
|
-
|
|
533
|
-
console.log
|
|
534
|
-
[googledrive-drive] [test-db] Downloaded changes not an array, wrapping/ignoring object
|
|
535
|
-
|
|
536
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
537
|
-
|
|
538
|
-
console.log
|
|
539
|
-
[googledrive-drive] [test-db] Replayed change log file-17741775337080.15733355955441297
|
|
540
|
-
|
|
541
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
542
|
-
|
|
543
|
-
console.log
|
|
544
|
-
[googledrive-drive] [test-db] Processing change, sequence 1
|
|
545
|
-
|
|
546
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
547
|
-
|
|
548
|
-
console.log
|
|
549
|
-
[googledrive-drive] [test-db] Processed log file-17741775337080.15733355955441297
|
|
550
|
-
|
|
551
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
552
|
-
|
|
553
|
-
console.log
|
|
554
|
-
[googledrive-drive] [test-db] Polling disabled (no interval provided)
|
|
555
|
-
|
|
556
|
-
at DriveHandler.log (src/drive.ts:69:17)
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
Test Suites: 3 failed, 2 passed, 5 total
|
|
560
|
-
Tests: 4 passed, 4 total
|
|
561
|
-
Snapshots: 0 total
|
|
562
|
-
Time: 8.42 s, estimated 11 s
|
|
563
|
-
Ran all test suites.
|