Skip to content

Commit eba3372

Browse files
committed
update reserved tests
1 parent 85b3857 commit eba3372

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sqlitecloud/drivers",
3-
"version": "1.0.295",
3+
"version": "1.0.296",
44
"description": "SQLiteCloud drivers for Typescript/Javascript in edge, web and node clients",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",

test/core/reserved-commands.test.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ import {
1919
import fs from 'fs'
2020
import path from 'path'
2121

22-
//jest.retryTimes(3)
22+
//giving tests more retries in ci
23+
if (!CHINOOK_DATABASE_URL.includes('localhost')) jest.retryTimes(3)
2324

2425
describe.each([
2526
['example.com', 'chinook.sqlite', 'artists', 3, _, 'example', true],
@@ -178,6 +179,7 @@ describe('command debug', () => {
178179
})
179180

180181
describe.skip.each([
182+
//unable to find command set env??
181183
['test', Number.MAX_VALUE, true],
182184
['//', '//', false]
183185
])('env', (key, value, ok) => {
@@ -208,7 +210,7 @@ describe.skip.each([
208210
})
209211
})
210212

211-
describe.skip.each([
213+
describe.each([
212214
[true, 2, '192.168.1.1:8860', '192.168.1.1:8860', true]
213215
//[false, 0, '//', '//', false]
214216
])('node', (learner, id, address, cluster, ok) => {
@@ -249,6 +251,7 @@ describe.skip.each([
249251
})
250252
})
251253

254+
//skipping some list tests because they get undefined reply??
252255
describe('list', () => {
253256
it.skip(`should list compile options`, done => {
254257
const chinook = getConnection()
@@ -317,7 +320,7 @@ describe('list', () => {
317320
{ compile_options: 'THREADSAFE=1' }
318321
])
319322
)
320-
}, 15000)
323+
})
321324

322325
it.skip(`should list only reserved commands`, done => {
323326
const chinook = getConnection()

0 commit comments

Comments
 (0)