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

Updates for verification #31

Merged
merged 3 commits into from Sep 2, 2013
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Fix misspelling

  • Loading branch information
♥ Ivan Tam ♥
♥ Ivan Tam ♥ committed Sep 1, 2013
commit 1b70f2fe92035e41dd2811f77b3636b9cc884f66
@@ -41,8 +41,8 @@
NON_ROOT_USER = 2

MINIMUM_SUPPORTED_PYTHON_VERSION = '2.6'
VERIFICATION_SLEEP_INTERAVAL = 240
VERIFICATION_SLEEP_INTERAVAL_PER_ITERATION = 5
VERIFICATION_SLEEP_INTERVAL = 240
VERIFICATION_SLEEP_INTERVAL_PER_ITERATION = 5

OS_UBUNTU = 1
OS_FEDORA = 2
@@ -1144,7 +1144,7 @@ def doverify(loggly_user, loggly_password, loggly_subdomain):
search_url = REST_URL_GET_SEARCH_ID % (loggly_subdomain, LOGGLY_DOMAIN, unique_string)
# Implement REST APIs to search if dummy message has been sent.
wait_time = 0
while wait_time < VERIFICATION_SLEEP_INTERAVAL:
while wait_time < VERIFICATION_SLEEP_INTERVAL:
print ".",
sys.stdout.flush()

@@ -1161,10 +1161,10 @@ def doverify(loggly_user, loggly_password, loggly_subdomain):
"Loggly is configured successfully."),
print_comp = True)
break
wait_time += VERIFICATION_SLEEP_INTERAVAL_PER_ITERATION
time.sleep(VERIFICATION_SLEEP_INTERAVAL_PER_ITERATION)
wait_time += VERIFICATION_SLEEP_INTERVAL_PER_ITERATION
time.sleep(VERIFICATION_SLEEP_INTERVAL_PER_ITERATION)

if wait_time >= VERIFICATION_SLEEP_INTERAVAL:
if wait_time >= VERIFICATION_SLEEP_INTERVAL:
Logger.printLog(VERIFICATION_FAIL_MESSAGE,
prio = 'crit', print_comp = True)

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.