feat(xo-server/moveVdi): retry on TOO_MANY_STORAGE_MIGRATES (#3940)

Fix xoa-support#1222
This commit is contained in:
Julien Fontanet
2019-02-07 17:46:41 +01:00
committed by GitHub
parent b2813d7cc0
commit e484b073e1
6 changed files with 89 additions and 2 deletions

View File

@@ -16,6 +16,8 @@ class TestHandler extends AbstractHandler {
}
}
jest.useFakeTimers()
describe('closeFile()', () => {
it(`throws in case of timeout`, async () => {
const testHandler = new TestHandler({