Skip to content

Commit 5ed93d8

Browse files
committed
print timestamps in tests
1 parent 1b12b78 commit 5ed93d8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests2/test_recovery.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import subprocess
44
# from lib.bank_client import *
55
from client2 import MtmClient
6+
import datetime
67

78
class RecoveryTest(unittest.TestCase):
89
@classmethod
@@ -40,7 +41,7 @@ def test_node_partition(self):
4041
self.client.get_status()
4142

4243
for i in range(10):
43-
print(i)
44+
print(i, datetime.datetime.now())
4445
time.sleep(3)
4546
aggs = self.client.get_status()
4647
MtmClient.print_aggregates(aggs)
@@ -55,7 +56,7 @@ def test_node_partition(self):
5556
self.client.get_status()
5657

5758
for i in range(30):
58-
print(i)
59+
print(i, datetime.datetime.now())
5960
time.sleep(3)
6061
aggs = self.client.get_status()
6162
MtmClient.print_aggregates(aggs)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy