Merge pull request #3315 from jumpserver/dev_bai

[Update] 更新定时测试管理用户可连接性 PERIOD_TASK_ENABLED 判断
pull/3316/head
BaiJiangJie 2019-10-09 17:24:20 +08:00 committed by GitHub
commit 230b3edf7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def test_admin_user_connectivity_period():
"""
A period task that update the ansible task period
"""
if const.PERIOD_TASK_ENABLED:
if not const.PERIOD_TASK_ENABLED:
logger.debug('Period task off, skip')
return
key = '_JMS_TEST_ADMIN_USER_CONNECTIVITY_PERIOD'