| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 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 """Integration test for the Swarming server, Swarming bot and Swarming client. | 6 """Integration test for the Swarming server, Swarming bot and Swarming client. |
| 7 | 7 |
| 8 It starts both a Swarming server and a Swarming bot and triggers tasks with the | 8 It starts both a Swarming server and a Swarming bot and triggers tasks with the |
| 9 Swarming client to ensure the system works end to end. | 9 Swarming client to ensure the system works end to end. |
| 10 """ | 10 """ |
| 11 | 11 |
| 12 import base64 | 12 import base64 |
| 13 import json | 13 import json |
| 14 import glob | 14 import glob |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 if bot.poll() is None: | 626 if bot.poll() is None: |
| 627 bot.kill() | 627 bot.kill() |
| 628 bot.wait() | 628 bot.wait() |
| 629 finally: | 629 finally: |
| 630 cleanup(bot, client, servers, failed or verbose, leak) | 630 cleanup(bot, client, servers, failed or verbose, leak) |
| 631 return int(failed) | 631 return int(failed) |
| 632 | 632 |
| 633 | 633 |
| 634 if __name__ == '__main__': | 634 if __name__ == '__main__': |
| 635 sys.exit(main()) | 635 sys.exit(main()) |
| OLD | NEW |