@@ -19,7 +19,8 @@ import {
1919import fs from 'fs'
2020import 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
2425describe . each ( [
2526 [ 'example.com' , 'chinook.sqlite' , 'artists' , 3 , _ , 'example' , true ] ,
@@ -178,6 +179,7 @@ describe('command debug', () => {
178179} )
179180
180181describe . 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??
252255describe ( '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