use another dns server
This commit is contained in:
parent
2591b81540
commit
a3f3bf6150
@ -12,6 +12,7 @@ var AppStore = require('../appstore.js'),
|
|||||||
async = require('async'),
|
async = require('async'),
|
||||||
Cloudron = require('../cloudron.js'),
|
Cloudron = require('../cloudron.js'),
|
||||||
common = require('../common.js'),
|
common = require('../common.js'),
|
||||||
|
dns = require('dns'),
|
||||||
request = require('superagent-sync'),
|
request = require('superagent-sync'),
|
||||||
semver = require('semver');
|
semver = require('semver');
|
||||||
|
|
||||||
@ -98,6 +99,8 @@ describe('Appstore new user flow', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('has setup DNS records cleaned up', function (done) {
|
it('has setup DNS records cleaned up', function (done) {
|
||||||
|
dns.setServers([ '8.8.8.8' ]); // use different dns server so as to not get cached results
|
||||||
|
|
||||||
function expectError(tag, fn) {
|
function expectError(tag, fn) {
|
||||||
return function (cb) {
|
return function (cb) {
|
||||||
fn(function (error) {
|
fn(function (error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user