Skip to content

Commit e95fb9c

Browse files
fix #6
1 parent a8a7384 commit e95fb9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/tests/critical-path/database/export-databases.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ test
3737
})
3838
.after(async() => {
3939
// Delete all databases
40+
fs.unlinkSync(joinPath(fileDownloadPath, foundExportedFiles[0]));
4041
await databaseAPIRequests.deleteStandaloneDatabaseApi(ossStandaloneConfig);
4142
await databaseAPIRequests.deleteStandaloneDatabaseApi(ossStandaloneTlsConfig);
4243
await databaseAPIRequests.deleteOSSClusterDatabaseApi(ossClusterConfig);
4344
await databaseAPIRequests.deleteAllDatabasesByConnectionTypeApi('SENTINEL');
4445
// Delete exported file
45-
fs.unlinkSync(joinPath(fileDownloadPath, foundExportedFiles[0]));
4646
})('Exporting Standalone, OSS Cluster, and Sentinel connection types', async t => {
4747
const databaseNames = [
4848
ossStandaloneConfig.databaseName,
@@ -79,7 +79,7 @@ test
7979

8080
const exportedData = {
8181
path: joinPath(fileDownloadPath, foundExportedFiles[0]),
82-
successNumber: 4,
82+
successNumber: databaseNames.length,
8383
dbImportedNames: databaseNames
8484
};
8585

0 commit comments

Comments
 (0)