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
1 changed files with 6 additions and 4 deletions

View File

@ -71,10 +71,6 @@ describe('Application flow test', function () {
cloudron.checkAddons(cloudron.appFqdn(location), owner);
});
it('can check the app ratelimit', function () {
cloudron.checkAppRateLimit(cloudron.appFqdn(location));
});
it('can check dnsbl', function () {
cloudron.checkDnsbl(cloudron.appFqdn(location));
});
@ -155,6 +151,12 @@ describe('Application flow test', function () {
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 () {
cloudron.uninstallApp(appId);
});