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 3, 2025
1 parent e7e80cc commit 096e94f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/upgrade/mongoBackup_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,14 @@ Scenario(
I.waitForVisible(backupInventoryPage.elements.pendingBackupByName(backupName), 10);
backupInventoryPage.verifyBackupSucceeded(backupName);

const artifactName = await I.grabTextFrom(backupInventoryPage.elements.artifactName(backupName));
const artifact = await backupAPI.getArtifactByName(artifactName);
const { service_id } = await inventoryAPI.apiGetNodeInfoByServiceName(SERVICE_TYPE.MONGODB, mongoServiceName);
const schedule = {
service_id,
location_id: locationId,
...scheduleSettings,
};

await scheduledAPI.createScheduledBackup(schedule);
},
).retry(0);

Expand Down

0 comments on commit 096e94f

Please sign in to comment.