Commit 5685a410 authored by Adrien Dorsaz's avatar Adrien Dorsaz

v2: try workaround order status by adding a delay between each unit test

parent c2c2ade1
Pipeline #163 failed with stage
in 5 minutes and 43 seconds
import unittest, sys, os, subprocess
import unittest, sys, os, subprocess, time
from io import StringIO
import dns.version
import acme_dns_tiny
......@@ -29,6 +29,11 @@ class TestACMEDNSTiny(unittest.TestCase):
self.configs[tmpfile].close()
super(TestACMEDNSTiny, self).tearDownClass()
# Add a sleeping time between each test, to avoid issue with order status
@classmethod
def tearDown(self):
time.sleep(5);
# helper function to run openssl command
def openssl(self, command, options, communicate=None):
openssl = subprocess.Popen(["openssl", command] + options,
......
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