Sleeping is easier than polling

This commit is contained in:
Brad Warren
2015-11-23 18:34:42 -05:00
parent 0c283b39ef
commit 9e52b8200d
@@ -8,6 +8,7 @@ import re
import shutil
import socket
import subprocess
import time
import zope.interface
@@ -1163,6 +1164,10 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
# types
self.restart()
# TODO: Remove this dirty hack. We need to determine a reliable way
# of identifying when the new configuration is being used.
time.sleep(3)
# Go through all of the challenges and assign them to the proper
# place in the responses return value. All responses must be in the
# same order as the original challenges.