Skip to content

Commit 9f36364

Browse files
committed
waiton mysql server when starting environment.
1 parent 9e8e6f9 commit 9f36364

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/local-env/scripts/install.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ writeFileSync( 'wp-tests-config.php', testConfig );
4040

4141
// Once the site is available, install WordPress!
4242
wait_on( {
43-
resources: [ `tcp:localhost:${process.env.LOCAL_PORT}`],
43+
resources: [
44+
`tcp:localhost:${process.env.LOCAL_PORT}`
45+
`tcp:localhost:3306`
46+
],
4447
timeout: 3000,
4548
} )
4649
.catch( err => {

0 commit comments

Comments
 (0)