IMPALA-8926, IMPALA-8989: Fix flaky result spooling tests

Disable the tests TestResultSpooling::test_full_queue(_large_fetch)
until we figure out why they are flaky.

Replace the sleep in TestAdmissionController::test_release_backend with
assert_eventually to reduce flakiness.

Change-Id: I7ea6bf3d84f174745c8a0b1e0f2b55ce05ee618b
Reviewed-on: http://gerrit.cloudera.org:8080/14337
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
Sahil Takiar
2019-10-01 14:39:40 -07:00
committed by Impala Public Jenkins
parent bef0baed44
commit c67e0868e0
2 changed files with 6 additions and 2 deletions

View File

@@ -15,6 +15,7 @@
# specific language governing permissions and limitations
# under the License.
import pytest
import re
import time
import threading
@@ -103,11 +104,13 @@ class TestResultSpooling(ImpalaTestSuite):
finally:
self.client.close_query(handle)
@pytest.mark.xfail(run=False, reason="IMPALA-8926")
def test_full_queue(self, vector):
"""Delegates to _test_full_queue."""
query = "select * from functional.alltypes order by id limit 1500"
self._test_full_queue(vector, query)
@pytest.mark.xfail(run=False, reason="IMPALA-8926")
def test_full_queue_large_fetch(self, vector):
"""Delegates to _test_full_queue, but specifies a fetch size equal to the number of
rows returned by the query. This tests that clients can fetch all rows from a full