Improving logs view

This commit is contained in:
Matias committed 2019-07-10 08:40:05 -03:00
1 parent 7125024f3a
commit 29c548fc2f
3 files changed
+16 -16

No files matched your search

+7 -7
View File
@@ -32,19 +32,19 @@ const createClone = async (clone) => {
'name': 'HOST_STORAGE',
'value': 'localStorage'
})
// TODO Pending setting private bots
// env.push({
// 'name': 'HOST_ACCESS_KEY',
// 'value': clone.host.accessKey
// })
if(clone.authorization){
if (clone.authorization) {
env.push({
'name': 'AUTHORIZATION',
'value': clone.authorization
})
}
if (JSON.parse(process.env.FULL_LOG)) {
env.push({
'name': 'FULL_LOG',
'value': process.env.FULL_LOG
})
}
logger.debug('createClone General Financial Being Configuration.')
env.push({
'name': 'DEV_TEAM',
+1 -1
View File
@@ -20,7 +20,7 @@ const getClonePodLogs = async (cloneName) => {
let queryLogs = {
'qs': {
'tailLines': '20'
'tailLines': '300'
}
}
if(pod.body.items[0] !== undefined){
+8 -8
View File
@@ -14,7 +14,7 @@ describe('Admin clones Clones', function () {
assert.isOk('everything', 'everything is ok')
})
// it('Add COSS Live Indicator Clones', async function () {
// this.timeout(300000)
// this.timeout(1000000)
// var error
// var clones = activeCloneList("Coss")
// try {
@@ -28,7 +28,7 @@ describe('Admin clones Clones', function () {
// assert.equal(error, undefined)
// })
// it('Add POLONIEX Live Indicator Clones', async function () {
// this.timeout(300000)
// this.timeout(1000000)
// var error
// var clones = activeCloneList("Poloniex")
// try {
@@ -43,36 +43,36 @@ describe('Admin clones Clones', function () {
// })
describe('Poloniex clones', function () {
it('Add Charly', async function () {
this.timeout(3000)
this.timeout(10000)
await createClone(cloneList[0])
await createClone(cloneList[1])
assert.isOk('everything', 'everything is ok')
})
it('Add Bruce', async function () {
this.timeout(3000)
this.timeout(10000)
await createClone(cloneList[2])
assert.isOk('everything', 'everything is ok')
})
it('Add Olivia', async function () {
this.timeout(3000)
this.timeout(10000)
await createClone(cloneList[3])
await createClone(cloneList[4])
assert.isOk('everything', 'everything is ok')
})
it('Add Tom', async function () {
this.timeout(3000)
this.timeout(10000)
await createClone(cloneList[5])
await createClone(cloneList[6])
assert.isOk('everything', 'everything is ok')
})
it('Add Chris', async function () {
this.timeout(3000)
this.timeout(10000)
await createClone(cloneList[7])
await createClone(cloneList[8])
assert.isOk('everything', 'everything is ok')
})
it('Add Paula', async function () {
this.timeout(3000)
this.timeout(10000)
await createClone(cloneList[9])
await createClone(cloneList[10])
assert.isOk('everything', 'everything is ok')