Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1584)

Unified Diff: swarm_client/tests/swarming_smoke_test.py

Issue 69143004: Delete swarm_client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « swarm_client/tests/short_expression_finder_test.py ('k') | swarm_client/tests/swarming_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: swarm_client/tests/swarming_smoke_test.py
===================================================================
--- swarm_client/tests/swarming_smoke_test.py (revision 235167)
+++ swarm_client/tests/swarming_smoke_test.py (working copy)
@@ -1,46 +0,0 @@
-#!/usr/bin/env python
-# Copyright 2013 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import logging
-import os
-import subprocess
-import sys
-import unittest
-
-BASE_DIR = os.path.dirname(os.path.abspath(__file__))
-
-ISOLATE_SERVER = 'https://isolateserver.appspot.com/'
-SWARMING_SERVER = 'https://chromium-swarm.appspot.com/'
-
-
-class TestSwarm(unittest.TestCase):
- def test_example(self):
- # pylint: disable=W0101
- # A user should be able to trigger a swarm job and return results.
- cmd = [
- sys.executable,
- os.path.normpath(
- os.path.join(BASE_DIR, '..', 'example', 'run_example_swarm.py')),
- '--isolate-server', ISOLATE_SERVER,
- '--swarming', SWARMING_SERVER,
- ]
- if '-v' in sys.argv:
- cmd.append('--verbose')
- p = subprocess.Popen(
- cmd,
- stdin=subprocess.PIPE,
- stdout=subprocess.PIPE,
- stderr=subprocess.STDOUT)
- out = p.communicate()[0]
- logging.debug(out)
- self.assertEqual(0, p.returncode, out)
-
-
-if __name__ == '__main__':
- logging.basicConfig(
- level=logging.DEBUG if '-v' in sys.argv else logging.ERROR)
- if '-v' in sys.argv:
- unittest.TestCase.maxDiff = None
- unittest.main()
« no previous file with comments | « swarm_client/tests/short_expression_finder_test.py ('k') | swarm_client/tests/swarming_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698