Commit e6ab6e33 authored by Aral Balkan's avatar Aral Balkan
Browse files

Add small delay in test to ensure tests pass with staging server

parent f4337292
......@@ -119,6 +119,11 @@ test('Auto Encrypt', async t => {
// further.
// Wait a breath to ensure that the request has a chance to start.
await new Promise((resolve, reject) => {
setTimeout(resolve, 500)
// Test server is busy response while attempting to provision the initial certificate.
try {
await httpsGetString(urlToHit)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment