зеркало из https://github.com/mozilla/PyHive.git
Fix failure in test_cancel
This commit is contained in:
Родитель
498326c837
Коммит
293cfacc0f
|
@ -97,9 +97,9 @@ class TestHive(unittest.TestCase, DBAPITestCase):
|
|||
async=True
|
||||
)
|
||||
self.assertEqual(cursor.poll().operationState, ttypes.TOperationState.RUNNING_STATE)
|
||||
assert any('Stage' in line for line in cursor.fetch_logs())
|
||||
cursor.cancel()
|
||||
self.assertEqual(cursor.poll().operationState, ttypes.TOperationState.CANCELED_STATE)
|
||||
assert any('Stage' in line for line in cursor.fetch_logs())
|
||||
|
||||
def test_noops(self):
|
||||
"""The DB-API specification requires that certain actions exist, even though they might not
|
||||
|
|
Загрузка…
Ссылка в новой задаче