Initial deployment setup
Deploy staging / deploy (push) Failing after 6s

This commit is contained in:
root
2026-08-31 16:45:24 +09:00
commit 33453ecc55
3475 changed files with 850363 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { test as teardown } from '@playwright/test';
import { cleanupDatabaseAfterTest } from './utils/database-utils';
import { cleanupOpenSearchAfterTest } from './utils/opensearch-utils';
teardown('teardown', async () => {
try {
try {
await cleanupDatabaseAfterTest();
} catch (error) {
console.warn('Database cleanup failed:', error);
}
try {
await cleanupOpenSearchAfterTest();
} catch (error) {
console.warn('OpenSearch cleanup failed:', error);
}
console.log('Tearing down succeeds.');
} catch (e) {
console.log('Tearing down fails.', e);
}
});