Handle the intermittent failure for query tool test.
parent
be1bdbcd14
commit
58cd21686b
|
@ -563,7 +563,7 @@ SELECT 1, pg_sleep(300)"""
|
||||||
QueryToolLocators.btn_commit)
|
QueryToolLocators.btn_commit)
|
||||||
if not commit_button.get_attribute('disabled'):
|
if not commit_button.get_attribute('disabled'):
|
||||||
commit_button.click()
|
commit_button.click()
|
||||||
time.sleep(0.5)
|
time.sleep(2)
|
||||||
|
|
||||||
# enable auto-commit and disable auto-rollback
|
# enable auto-commit and disable auto-rollback
|
||||||
self.page.check_execute_option('auto_commit')
|
self.page.check_execute_option('auto_commit')
|
||||||
|
|
Loading…
Reference in New Issue