listDiskOfferings not fully working on 2.2.12

This commit is contained in:
andreisavu 2011-11-15 11:11:46 +02:00
parent 5842b84ad0
commit af99850a54
1 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,8 @@ public class OfferingClientLiveTest extends BaseCloudStackClientLiveTest {
assert offering.getTags() != null : offering;
} catch (NoSuchElementException e) {
assertEquals(apiversion, "2.2.8");
// This bug is present both in 2.2.8 and 2.2.12
assertTrue("2.2.8".equals(apiversion) || "2.2.12".equals(apiversion));
}
}
}