mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
allow longer timeouts when testing
This commit is contained in:
parent
1aeeb19fcf
commit
7dbfaedb2f
@ -7,6 +7,9 @@ var config = require('../modules/config');
|
|||||||
var skins = require('../modules/skins');
|
var skins = require('../modules/skins');
|
||||||
var cache = require("../modules/cache");
|
var cache = require("../modules/cache");
|
||||||
|
|
||||||
|
// we don't want tests to fail because of slow internet
|
||||||
|
config.http_timeout = 3000;
|
||||||
|
|
||||||
var uuids = fs.readFileSync('test/uuids.txt').toString().split("\n");
|
var uuids = fs.readFileSync('test/uuids.txt').toString().split("\n");
|
||||||
var usernames = fs.readFileSync('test/usernames.txt').toString().split("\n");
|
var usernames = fs.readFileSync('test/usernames.txt').toString().split("\n");
|
||||||
// Get a random UUID + username in order to prevent rate limiting
|
// Get a random UUID + username in order to prevent rate limiting
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user