aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wfar...@apache.org
Subject aurora git commit: Skip known flaky tests.
Date Mon, 13 Apr 2015 22:09:09 GMT
Repository: aurora
Updated Branches:
  refs/heads/master eb9e40888 -> 9aab87f18


Skip known flaky tests.

Reviewed at https://reviews.apache.org/r/33103/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/9aab87f1
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/9aab87f1
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/9aab87f1

Branch: refs/heads/master
Commit: 9aab87f18b73fd0f64fc80459ade0569471fe236
Parents: eb9e408
Author: Bill Farner <wfarner@apache.org>
Authored: Mon Apr 13 15:08:52 2015 -0700
Committer: Bill Farner <wfarner@apache.org>
Committed: Mon Apr 13 15:08:52 2015 -0700

----------------------------------------------------------------------
 .../python/apache/aurora/executor/common/test_announcer.py     | 6 ++----
 src/test/python/apache/aurora/executor/test_gc_executor.py     | 2 ++
 .../python/apache/aurora/executor/test_thermos_task_runner.py  | 3 +++
 src/test/python/apache/thermos/core/test_staged_kill.py        | 3 +--
 4 files changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/9aab87f1/src/test/python/apache/aurora/executor/common/test_announcer.py
----------------------------------------------------------------------
diff --git a/src/test/python/apache/aurora/executor/common/test_announcer.py b/src/test/python/apache/aurora/executor/common/test_announcer.py
index 6b78277..f614f2c 100644
--- a/src/test/python/apache/aurora/executor/common/test_announcer.py
+++ b/src/test/python/apache/aurora/executor/common/test_announcer.py
@@ -109,8 +109,7 @@ def test_announcer_under_normal_circumstances():
       'Announcer should not advance disconnection time when stopped.')
 
 
-# TODO(wickman) https://issues.apache.org/jira/browse/AURORA-639
-@pytest.mark.skipif('True')
+@pytest.mark.skipif('True', reason='Flaky test (AURORA-639)')
 def test_announcer_on_expiration():
   joined = threading.Event()
   operations = []
@@ -157,8 +156,7 @@ def test_announcer_on_expiration():
     announcer.stop()
 
 
-# TODO(wickman) https://issues.apache.org/jira/browse/AURORA-639
-@pytest.mark.skipif('True')
+@pytest.mark.skipif('True', reason='Flaky test (AURORA-639)')
 def test_announcer_under_abnormal_circumstances():
   mock_serverset = create_autospec(spec=ServerSet, instance=True)
   mock_serverset.join = MagicMock()

http://git-wip-us.apache.org/repos/asf/aurora/blob/9aab87f1/src/test/python/apache/aurora/executor/test_gc_executor.py
----------------------------------------------------------------------
diff --git a/src/test/python/apache/aurora/executor/test_gc_executor.py b/src/test/python/apache/aurora/executor/test_gc_executor.py
index 0f0b4a3..856483d 100644
--- a/src/test/python/apache/aurora/executor/test_gc_executor.py
+++ b/src/test/python/apache/aurora/executor/test_gc_executor.py
@@ -23,6 +23,7 @@ from collections import namedtuple
 from itertools import product
 
 import mock
+import pytest
 from mesos.interface import mesos_pb2
 from thrift.TSerialization import serialize as thrift_serialize
 from twitter.common import log
@@ -540,6 +541,7 @@ def run_gc_with_timeout(**kw):
     executor.shutdown(proxy_driver)
 
 
+@pytest.mark.skipif('True', reason='Flaky test (AURORA-1162)')
 def test_gc_lifetime():
   with run_gc_with_timeout(maximum_executor_lifetime=Amount(500, Time.MILLISECONDS)) as (
       proxy_driver, executor):

http://git-wip-us.apache.org/repos/asf/aurora/blob/9aab87f1/src/test/python/apache/aurora/executor/test_thermos_task_runner.py
----------------------------------------------------------------------
diff --git a/src/test/python/apache/aurora/executor/test_thermos_task_runner.py b/src/test/python/apache/aurora/executor/test_thermos_task_runner.py
index 6b24bbb..a1005a8 100644
--- a/src/test/python/apache/aurora/executor/test_thermos_task_runner.py
+++ b/src/test/python/apache/aurora/executor/test_thermos_task_runner.py
@@ -21,6 +21,7 @@ import sys
 import tempfile
 import time
 
+import pytest
 from mesos.interface import mesos_pb2
 from twitter.common import log
 from twitter.common.contextutil import temporary_dir
@@ -163,6 +164,7 @@ class TestThermosTaskRunnerIntegration(object):
       assert task_runner.status is not None
       assert task_runner.status.status == mesos_pb2.TASK_FAILED
 
+  @pytest.mark.skipif('True', reason='Flaky test (AURORA-1054)')
   def test_integration_stop(self):
     with self.yield_sleepy(ThermosTaskRunner, sleep=1000, exit_code=0) as task_runner:
       task_runner.start()
@@ -188,6 +190,7 @@ class TestThermosTaskRunnerIntegration(object):
       assert task_runner.status is not None
       assert task_runner.status.status == mesos_pb2.TASK_LOST
 
+  @pytest.mark.skipif('True', reason='Flaky test (AURORA-1054)')
   def test_integration_quitquitquit(self):
     ignorant_script = ';'.join([
         'import time, signal',

http://git-wip-us.apache.org/repos/asf/aurora/blob/9aab87f1/src/test/python/apache/thermos/core/test_staged_kill.py
----------------------------------------------------------------------
diff --git a/src/test/python/apache/thermos/core/test_staged_kill.py b/src/test/python/apache/thermos/core/test_staged_kill.py
index b52fcba..9167e60 100644
--- a/src/test/python/apache/thermos/core/test_staged_kill.py
+++ b/src/test/python/apache/thermos/core/test_staged_kill.py
@@ -197,8 +197,7 @@ class TestRunnerKillProcessTrappingSIGTERM(RunnerBase):
     assert len(state.processes['ignorant_process']) == 1
     assert state.processes['ignorant_process'][0].state == ProcessState.LOST
 
-  # TODO(wickman) MESOS-4326
-  @pytest.mark.skipif('True')
+  @pytest.mark.skipif('True', reason='Flaky test (AURORA-161)')
   def test_preemption_wait(self):
     runner = self.start_runner()
     tm = TaskMonitor(runner.tempdir, runner.task_id)


Mime
View raw message