Skip to content

Commit

Permalink
wait for MySQL server to start (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Jan 10, 2024
1 parent 8118e3a commit 71daff3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions generators/quarkus/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,13 @@ export default class extends BaseApplicationGenerator {
'ci:backend:test': 'npm run backend:info && npm run backend:doc:test && npm run backend:unit:test',
},
});
if (application.prodDatabaseTypeMysql) {
this.packageJson.merge({
scripts: {
'services:db:await': 'sleep 10',
},
});
}
if (application.buildToolGradle) {
this.packageJson.merge({
scripts: {
Expand Down

0 comments on commit 71daff3

Please sign in to comment.