set unique index for mysql, set connection var
Signed-off-by: lpete@vmware.com <lpete@vmware.com>
This commit is contained in:
@@ -69,7 +69,10 @@ export async function run() {
|
||||
print('Starting the app');
|
||||
await testAppServe(pluginId, appDir);
|
||||
|
||||
if (Boolean(process.env.POSTGRES_USER) || Boolean(process.env.MYSQL_USER)) {
|
||||
if (
|
||||
Boolean(process.env.POSTGRES_USER) ||
|
||||
Boolean(process.env.MYSQL_CONNECTION)
|
||||
) {
|
||||
print('Testing the database backend startup');
|
||||
await preCleanDatabase();
|
||||
const appConfig = path.resolve(appDir, 'app-config.yaml');
|
||||
|
||||
Reference in New Issue
Block a user