1
This commit is contained in:
parent
8e23cb407b
commit
888a2e578b
@ -1,19 +1,23 @@
|
|||||||
const TestCase = require('./testcase');
|
const TestCase = require('./testcase');
|
||||||
|
|
||||||
const urls = {
|
const urls = {
|
||||||
'login': 'https://login-z4-test.cebg.games',
|
'login': 'https://login-z1-test.cebg.games',
|
||||||
'cloud': 'https://cloud-z4-test.cebg.games',
|
'cloud': 'https://cloud-z1-test.cebg.games',
|
||||||
'service': 'https://service-z4-test.cebg.games',
|
'service': 'https://service-z1-test.cebg.games',
|
||||||
'gamelog': 'https://gamelog-z4-test.cebg.games',
|
'gamelog': 'https://gamelog-z1-test.cebg.games',
|
||||||
'mail': 'https://gamemail-z4-test.cebg.games',
|
'mail': 'https://gamemail-z1-test.cebg.games',
|
||||||
'stat': 'https://stat-z4-test.cebg.games',
|
'stat': 'https://stat-z1-test.cebg.games',
|
||||||
'game2006api': 'https://game2006api-z4-test.cebg.games',
|
'game2006api': 'https://game2006api-z1-test.cebg.games',
|
||||||
'relation': 'ws://relation-z4-test.cebg.games/friend/websocket',
|
'relation': 'ws://relation-z1-test.cebg.games/friend/websocket',
|
||||||
'game2006': 'ws://game2006-z4-test.cebg.games',
|
'game2006': 'ws://game2006-z1-test.cebg.games',
|
||||||
'game2006-n1': 'ws://game2006-z4-test-n1.cebg.games',
|
'game2006-n1': 'ws://game2006-z1-test-n1.cebg.games',
|
||||||
};
|
};
|
||||||
|
|
||||||
async function start() {
|
async function start() {
|
||||||
|
const zId = process.argv[2];
|
||||||
|
for (let key in urls) {
|
||||||
|
urls[key] = urls[key].replace('-z1-', `-z${zId}-`);
|
||||||
|
}
|
||||||
const testCase = new TestCase(urls);
|
const testCase = new TestCase(urls);
|
||||||
await testCase.init();
|
await testCase.init();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user