Skip to content

Commit cb7123f

Browse files
committed
fix UT failure
1 parent f38db97 commit cb7123f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/test/java/org/apache/cloudstack/backup/BackupManagerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ public void testCheckAndRemoveBackupOfferingBeforeExpunge() {
12641264

12651265
CloudRuntimeException exception = Assert.assertThrows(CloudRuntimeException.class,
12661266
() -> backupManager.checkAndRemoveBackupOfferingBeforeExpunge(vm));
1267-
Assert.assertEquals("This VM [uuid: uuid1, name: i-2-1-VM] has a "
1267+
Assert.assertEquals("This Instance [uuid: uuid1, name: i-2-1-VM] has a "
12681268
+ "Backup Offering [id: 3, external id: backup-external-id] with 1 backups. Please, remove the backup offering "
12691269
+ "before proceeding to VM exclusion!", exception.getMessage());
12701270
}
@@ -1290,7 +1290,7 @@ public void testGetIpToNetworkMapFromBackup() {
12901290
backupManager.getIpToNetworkMapFromBackup(backup1, true, networkIds1);
12911291
fail("Expected CloudRuntimeException for missing network information");
12921292
} catch (CloudRuntimeException e) {
1293-
assertEquals("Backup doesn't contain network information. Please specify atleast one valid network while creating instance", e.getMessage());
1293+
assertEquals("Backup doesn't contain network information. Please specify at least one valid network while creating instance", e.getMessage());
12941294
}
12951295

12961296
// Test case 2: IP preservation enabled with IP information

0 commit comments

Comments
 (0)