| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2014 The Swarming 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 by the Apache v2.0 license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """High level test for Primary <-> Replica replication logic. | 6 """High level test for Primary <-> Replica replication logic. |
| 7 | 7 |
| 8 It launches two local services (Primary and Replica) via dev_appserver and sets | 8 It launches two local services (Primary and Replica) via dev_appserver and sets |
| 9 up auth db replication between them. | 9 up auth db replication between them. |
| 10 """ | 10 """ |
| 11 | 11 |
| 12 import base64 | 12 import base64 |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 | 300 |
| 301 | 301 |
| 302 if __name__ == '__main__': | 302 if __name__ == '__main__': |
| 303 gae_sdk_utils.setup_gae_env() | 303 gae_sdk_utils.setup_gae_env() |
| 304 if '-v' in sys.argv: | 304 if '-v' in sys.argv: |
| 305 unittest.TestCase.maxDiff = None | 305 unittest.TestCase.maxDiff = None |
| 306 logging.basicConfig(level=logging.DEBUG) | 306 logging.basicConfig(level=logging.DEBUG) |
| 307 else: | 307 else: |
| 308 logging.basicConfig(level=logging.FATAL) | 308 logging.basicConfig(level=logging.FATAL) |
| 309 unittest.main() | 309 unittest.main() |
| OLD | NEW |