diff --git a/test/app-flow-test.js b/test/app-flow-test.js index d77ec37..b09c015 100644 --- a/test/app-flow-test.js +++ b/test/app-flow-test.js @@ -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); });