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

Side by Side Diff: third_party/boto/manage/test_manage.py

Issue 12633019: Added boto/ to depot_tools/third_party (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Moved boto down by one Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « third_party/boto/manage/task.py ('k') | third_party/boto/manage/volume.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 from boto.manage.server import Server
2 from boto.manage.volume import Volume
3 import time
4
5 print '--> Creating New Volume'
6 volume = Volume.create()
7 print volume
8
9 print '--> Creating New Server'
10 server_list = Server.create()
11 server = server_list[0]
12 print server
13
14 print '----> Waiting for Server to start up'
15 while server.status != 'running':
16 print '*'
17 time.sleep(10)
18 print '----> Server is running'
19
20 print '--> Run "df -k" on Server'
21 status = server.run('df -k')
22 print status[1]
23
24 print '--> Now run volume.make_ready to make the volume ready to use on server'
25 volume.make_ready(server)
26
27 print '--> Run "df -k" on Server'
28 status = server.run('df -k')
29 print status[1]
30
31 print '--> Do an "ls -al" on the new filesystem'
32 status = server.run('ls -al %s' % volume.mount_point)
33 print status[1]
34
OLDNEW
« no previous file with comments | « third_party/boto/manage/task.py ('k') | third_party/boto/manage/volume.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698