upt app rate limit test in the end

This commit is contained in:
Girish Ramakrishnan 2017-03-30 20:57:09 -07:00
parent 915f460c6e
commit 1f7a6fc322

View File

@ -71,10 +71,6 @@ describe('Application flow test', function () {
cloudron.checkAddons(cloudron.appFqdn(location), owner); cloudron.checkAddons(cloudron.appFqdn(location), owner);
}); });
it('can check the app ratelimit', function () {
cloudron.checkAppRateLimit(cloudron.appFqdn(location));
});
it('can check dnsbl', function () { it('can check dnsbl', function () {
cloudron.checkDnsbl(cloudron.appFqdn(location)); cloudron.checkDnsbl(cloudron.appFqdn(location));
}); });
@ -155,6 +151,12 @@ describe('Application flow test', function () {
checkExposedPort(5252, done); checkExposedPort(5252, done);
}); });
// do this last because mysql blocks the app after conn fails (ER_HOST_IS_BLOCKED: Host is blocked because of many connection errors; unblock with mysqladmin flush-hosts)
it('can check the app ratelimit', function () {
cloudron.checkAppRateLimit(cloudron.appFqdn(location));
});
it('can uninstall app', function () { it('can uninstall app', function () {
cloudron.uninstallApp(appId); cloudron.uninstallApp(appId);
}); });