File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ exports.builder = (yargs) => (
165
165
. option ( 'http' , {
166
166
describe : 'uses http exec instead of docker exec to run tests' ,
167
167
type : 'boolean' ,
168
- default : true ,
168
+ default : false ,
169
169
} )
170
170
. option ( 'in-one' , {
171
171
alias : 'in_one' ,
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ function tester(compose, argv) {
107
107
}
108
108
}
109
109
110
- if ( argv . services . includes ( 'redisCluster' ) ) {
110
+ if ( argv . services && argv . services . includes ( 'redisCluster' ) ) {
111
111
const cmdWait = process . env . DEPLOY_CLUSTER_SCRIPT || '/deploy-scripts/wait-for-cluster.sh' ;
112
112
volumes . push (
113
113
`${ resolve ( __dirname , '../../../scripts/wait-for-cluster.sh' ) } :${ cmdWait } `
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ exports.handler = async (argv) => {
82
82
*/
83
83
let client ;
84
84
let dockerExec ;
85
- if ( argv . http ) {
85
+ if ( argv . auto_compose && argv . http ) {
86
86
const getSocketId = async ( attempt = 0 ) => {
87
87
const { stdout } = await execAsync ( 'docker' , [ 'logs' , container ] ) ;
88
88
const lines = stdout . split ( '\n' ) ;
You can’t perform that action at this time.
0 commit comments