Reduce test-electron CI flake on macOS
This commit is contained in:
parent
894522ad12
commit
774b2b82b8
1 changed files with 2 additions and 3 deletions
|
@ -32,7 +32,7 @@ const BACKUP_CDN = 3;
|
||||||
|
|
||||||
const RELATIVE_ATTACHMENT_PATH = getRelativePath(createName());
|
const RELATIVE_ATTACHMENT_PATH = getRelativePath(createName());
|
||||||
const LOCAL_ENCRYPTION_KEYS = Bytes.toBase64(generateKeys());
|
const LOCAL_ENCRYPTION_KEYS = Bytes.toBase64(generateKeys());
|
||||||
const ATTACHMENT_SIZE = 3577986;
|
const ATTACHMENT_SIZE = 188610;
|
||||||
|
|
||||||
describe('AttachmentBackupManager/JobManager', function attachmentBackupManager(this: Mocha.Suite) {
|
describe('AttachmentBackupManager/JobManager', function attachmentBackupManager(this: Mocha.Suite) {
|
||||||
this.timeout(10 * SECOND);
|
this.timeout(10 * SECOND);
|
||||||
|
@ -102,7 +102,7 @@ describe('AttachmentBackupManager/JobManager', function attachmentBackupManager(
|
||||||
await DataWriter.ensureFilePermissions();
|
await DataWriter.ensureFilePermissions();
|
||||||
await encryptAttachmentV2({
|
await encryptAttachmentV2({
|
||||||
plaintext: {
|
plaintext: {
|
||||||
absolutePath: join(__dirname, '../../../fixtures/ghost-kitty.mp4'),
|
absolutePath: join(__dirname, '../../../fixtures/cat-gif.mp4'),
|
||||||
},
|
},
|
||||||
keys: Bytes.fromBase64(LOCAL_ENCRYPTION_KEYS),
|
keys: Bytes.fromBase64(LOCAL_ENCRYPTION_KEYS),
|
||||||
sink: createWriteStream(absolutePath),
|
sink: createWriteStream(absolutePath),
|
||||||
|
@ -158,7 +158,6 @@ describe('AttachmentBackupManager/JobManager', function attachmentBackupManager(
|
||||||
|
|
||||||
afterEach(async () => {
|
afterEach(async () => {
|
||||||
sandbox.restore();
|
sandbox.restore();
|
||||||
|
|
||||||
await backupManager?.stop();
|
await backupManager?.stop();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue