Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update retry number for test request #1921

Merged
merged 2 commits into from
Jul 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions run/markdown-preview/editor/test/system.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ describe('End-to-End Tests', () => {
headers: {
Authorization: `Bearer ${ID_TOKEN.trim()}`
},
retry: 1
retry: 3
};
const response = await got('', options);
assert.strictEqual(response.statusCode, 200);
});

it('Can successfully make a request to the Renderer', async () => {
const options = {
const options = {
prefixUrl: BASE_URL.trim(),
headers: {
Authorization: `Bearer ${ID_TOKEN.trim()}`
Expand All @@ -52,7 +52,7 @@ describe('End-to-End Tests', () => {
"data": "**markdown**"

},
retry: 1
retry: 3
};
const response = await got('render', options);
assert.strictEqual(response.statusCode, 200);
Expand Down