fixed testing adding storage class and persistent volume and timeout to wait for cleanup

This commit is contained in:
Nikola Jokic
2022-06-06 12:56:50 +02:00
parent ec8131abb7
commit 0ebccbd8c6
5 changed files with 50 additions and 19 deletions

View File

@@ -55,9 +55,9 @@ describe('e2e', () => {
const runContainerStepContent = fs.readFileSync(runContainerStepJsonPath)
const runContainerStepData = JSON.parse(runContainerStepContent.toString())
// await expect(
// runContainerStep(runContainerStepData.args)
// ).resolves.not.toThrow()
await expect(
runContainerStep(runContainerStepData.args)
).resolves.not.toThrow()
await expect(cleanupJob()).resolves.not.toThrow()
})