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

Side by Side Diff: client/tools/gce_load_test_on_startup.sh

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 years, 6 months 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 unified diff | Download patch
« no previous file with comments | « client/tools/fleet.py ('k') | client/tools/harvest_buildbot.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright 2014 The LUCI Authors. All rights reserved. 2 # Copyright 2014 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed by the Apache v2.0 license that can be 3 # Use of this source code is governed under the Apache License, Version 2.0
4 # found in the LICENSE file. 4 # that can be found in the LICENSE file.
5 5
6 # Script to be used on GCE slave startup to initiate a load test. Each VM will 6 # Script to be used on GCE slave startup to initiate a load test. Each VM will
7 # fire an equivalent number of bots and clients. Fine tune the value depending 7 # fire an equivalent number of bots and clients. Fine tune the value depending
8 # on what kind of load test is desired. 8 # on what kind of load test is desired.
9 # 9 #
10 # Please see https://developers.google.com/compute/docs/howtos/startupscript for 10 # Please see https://developers.google.com/compute/docs/howtos/startupscript for
11 # more details on how to use this script. 11 # more details on how to use this script.
12 # 12 #
13 # The script may run as root, which is counter intuitive. We don't mind much 13 # The script may run as root, which is counter intuitive. We don't mind much
14 # because is deleted right after the load test, but still keep this in mind! 14 # because is deleted right after the load test, but still keep this in mind!
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 done 93 done
94 94
95 echo "5. Waiting for the bot processes to stop." 95 echo "5. Waiting for the bot processes to stop."
96 for i in $BOTS_PID; do 96 for i in $BOTS_PID; do
97 echo " Waiting for $i" 97 echo " Waiting for $i"
98 wait $i || true 98 wait $i || true
99 done 99 done
100 100
101 echo "6. Load test is complete." 101 echo "6. Load test is complete."
102 touch $LOG/done 102 touch $LOG/done
OLDNEW
« no previous file with comments | « client/tools/fleet.py ('k') | client/tools/harvest_buildbot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698