diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2017-12-06 14:18:32 -0500 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2017-12-06 14:18:32 -0500 |
commit | 6409e02490d57ae2191bb3960fec8f6ca09fc5b4 (patch) | |
tree | 51ca6e811f472715e36d93703e5a828d999a8203 /pytests | |
parent | 0291277c5fb33d5776c2b19dcf42c9bd76bb777f (diff) | |
download | mongo-6409e02490d57ae2191bb3960fec8f6ca09fc5b4.tar.gz |
SERVER-32074 Powercycle - Fix Windows event_name for handling stack dumps
Diffstat (limited to 'pytests')
-rwxr-xr-x | pytests/powertest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pytests/powertest.py b/pytests/powertest.py index 31492116e3d..37b60a9bd58 100755 --- a/pytests/powertest.py +++ b/pytests/powertest.py @@ -180,7 +180,7 @@ def register_signal_handler(handler): if _IS_WINDOWS: # Create unique event_name. - event_name = "Global\\Mongo_Python_%d".format(os.getpid()) + event_name = "Global\\Mongo_Python_{:d}".format(os.getpid()) LOGGER.debug("Registering event %s", event_name) try: |