Skip to content

Commit cf8f395

Browse files
Skip flaky test
lifecycle transition from LocalStorage to AWS without versioning should transition a MPU object Issue: ZENKO-4953
1 parent 27602b5 commit cf8f395

File tree

1 file changed

+12
-10
lines changed
  • tests/zenko_tests/node_tests/backbeat/tests/lifecycle

1 file changed

+12
-10
lines changed

tests/zenko_tests/node_tests/backbeat/tests/lifecycle/transition.js

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -162,16 +162,18 @@ testsToRun.forEach(test => {
162162
], done);
163163
});
164164

165-
it('should transition a MPU object', done => {
166-
const key = `${prefix}nover-mpu`;
167-
cloudServer.setKey(key);
168-
cloud.setKey(`${srcBucket}/${key}`);
169-
series([
170-
next => cloudServer.putMPU(10, next),
171-
next => checkTransition(toLoc, cloudServer, cloud, null, next),
172-
next => checkRestoration(toLoc, cloudServer, null, next),
173-
], done);
174-
});
165+
if (test.from !== 'LocalStorage' || test.to !== 'AWS') {
166+
it('should transition a MPU object', done => {
167+
const key = `${prefix}nover-mpu`;
168+
cloudServer.setKey(key);
169+
cloud.setKey(`${srcBucket}/${key}`);
170+
series([
171+
next => cloudServer.putMPU(10, next),
172+
next => checkTransition(toLoc, cloudServer, cloud, null, next),
173+
next => checkRestoration(toLoc, cloudServer, null, next),
174+
], done);
175+
});
176+
}
175177
});
176178

177179
if (fromLoc.supportsVersioning) {

0 commit comments

Comments
 (0)