Skip to content

Commit

Permalink
PMM-7: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
peterSirotnak committed Jan 8, 2025
1 parent 9b4f280 commit 2c74924
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/backup/inventory_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Scenario(
);

console.log('Locations are: ');

Check warning on line 99 in tests/backup/inventory_test.js

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement
console.log((await locationsAPI.getLocationsList()).find((location) => location.name === localStorageLocationName).location_id);
console.log((await locationsAPI.getLocationsList()).find((beLocation) => beLocation.name === location.name).location_id);

Check warning on line 100 in tests/backup/inventory_test.js

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement

const { service_id } = await inventoryAPI.apiGetNodeInfoByServiceName(SERVICE_TYPE.MONGODB, mongoServiceName);

Expand Down Expand Up @@ -347,6 +347,8 @@ Scenario(
}) => {
const backupName = 'mongo_artifact_delete_test';
const { service_id } = await inventoryAPI.apiGetNodeInfoByServiceName(SERVICE_TYPE.MONGODB, mongoServiceName);

locationId = (await locationsAPI.getLocationsList()).find((beLocation) => beLocation.name === location.name).location_id;
const artifactId = await backupAPI.startBackup(backupName, service_id, locationId);

await backupAPI.waitForBackupFinish(artifactId);
Expand Down

0 comments on commit 2c74924

Please sign in to comment.