@Ignore("This application is not allowed to have additional gear storage")
@Test
public void shouldSeeNewAdditionalGearStorageInNewConnection() throws OpenShiftException, URISyntaxException,
IOException {
// precondition
IDeployedStandaloneCartridge cartridge = application.getCartridge();
assertThat(cartridge).isNotNull();
int additionalGearStorage = 4;
// operation
cartridge.setAdditionalGearStorage(additionalGearStorage);
// verification
// reload user info to ensure the storage info isnt cached
IUser newUser = new TestConnectionBuilder()
.defaultCredentials()
.disableSSLCertificateChecks()
.create()
.getUser();
IApplication newApplication = newUser.getDefaultDomain().getApplicationByName(application.getName());
IDeployedStandaloneCartridge newCartridge = newApplication.getCartridge();
new StandaloneCartridgeAssert(newCartridge).isEqualTo(cartridge);
assertThat(newCartridge.getAdditionalGearStorage()).isEqualTo(additionalGearStorage);
}