mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 11:55:01 +03:00
Removed retries from batch sending tests (#20934)
no issue - These retries were added a while ago when these tests were flaking in CI, but this only serves to cover up any potential problems with these tests or the code they are testing - Ran these tests in CI three times in a row without them failing, so I don't think the retries are necessary
This commit is contained in:
parent
07932325f4
commit
55e6166618
@ -170,7 +170,6 @@ describe('Batch sending tests', function () {
|
||||
});
|
||||
|
||||
it('Protects the email job from being run multiple times at the same time', async function () {
|
||||
this.retries(1);
|
||||
// Prepare a post and email model
|
||||
const {emailModel} = await sendEmail(agent);
|
||||
|
||||
@ -679,7 +678,6 @@ describe('Batch sending tests', function () {
|
||||
});
|
||||
|
||||
it('Does replace with and without fallback in both plaintext and html for member with name', async function () {
|
||||
this.retries(1);
|
||||
// Create a new member without a first_name
|
||||
await models.Member.add({
|
||||
name: 'Simon Tester',
|
||||
@ -855,7 +853,6 @@ describe('Batch sending tests', function () {
|
||||
});
|
||||
|
||||
it('Shows subscription details box for free members', async function () {
|
||||
this.retries(1);
|
||||
// Create a new member without a first_name
|
||||
await models.Member.add({
|
||||
email: 'subscription-box-1@example.com',
|
||||
|
Loading…
Reference in New Issue
Block a user