Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+3-2
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)