This is an automated email from the ASF dual-hosted git repository. jacksontj pushed a commit to branch master in repository https://git-dual.apache.org/repos/asf/trafficserver.git
commit ae0c22091dd7530d072b2328f5d96ab3d9e72bb5 Author: Thomas Jackson <[email protected]> AuthorDate: Tue Nov 1 08:23:37 2016 -0700 Don't re-run regression tests as of now the CI already runs the regression tests, so there is no need to re-run them in tsqa. At some point in the future we may consolidate these-- but for now we'll leave them separate --- ci/tsqa/tests/test_regressions.py | 53 --------------------------------------- 1 file changed, 53 deletions(-) diff --git a/ci/tsqa/tests/test_regressions.py b/ci/tsqa/tests/test_regressions.py deleted file mode 100644 index ba0b39f..0000000 --- a/ci/tsqa/tests/test_regressions.py +++ /dev/null @@ -1,53 +0,0 @@ -''' -Run the built-in regression tests with experimental build configurations. -''' - -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import os -import subprocess -import logging - -import helpers -import tsqa.test_cases -import tsqa.utils - -log = logging.getLogger(__name__) - - -class TestRegressions(helpers.EnvironmentCase): - ''' - Run the built-in traffic_server regression test suite. - ''' - - # NOTE: we need to stop the running Traffic Server in the environment so - # that we can start up our own. Make sure to restart it when we are done so - # that the EnvironmentCase doesn't get upset. - - @classmethod - def setUpClass(cls): - super(TestRegressions, cls).setUpClass() - cls.environment.stop() - - @classmethod - def tearDownClass(cls): - cls.environment.start() - super(TestRegressions, cls).tearDownClass() - - def test_regressions(self): - cmd = [os.path.join(self.environment.layout.bindir, 'traffic_server'), '-R', '1'] - tsqa.utils.run_sync_command(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
