Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Skip get pod log tests in ci (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyione committed Nov 9, 2020
1 parent bb35ec6 commit 35c276c
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions tests/common/apiTestCases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -955,31 +955,13 @@ export const ApiDefaultTestCases: {[key: string]: IApiTestCase} = {
]
},
'get /api/v2/jobs/{user}~{job}/pods/{podUid}/logs': {
before: [ createTestRunningJob() ],
tests: [
{
description: 'Get pod logs',
operation: {
parameters: [
{
type: 'raw',
value: clustersJson[0].username
},
{
type: 'raw',
value: 'sdk_test_job' + randomString.get()
},
{
type: 'fromResult',
resultType: 'beforeResults',
resultPath: ['taskRoles', 'worker', 'taskStatuses', 0, 'containerId'],
resultIndex: 0
}
]
}
// Skip the test temporarily to avoid highly increasing CI cost.
description: 'Skip',
customizedTest: 'skipTest'
}
],
after: [ updateTestJobExecutionType('STOP') ]
]
},
'get /api/v2/jobs/{user}~{job}/config': {
before: [ createTestJob() ],
Expand Down

0 comments on commit 35c276c

Please sign in to comment.