Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5ed93d8

Browse files
committed
print timestamps in tests
1 parent1b12b78 commit5ed93d8

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
importsubprocess
44
# from lib.bank_client import *
55
fromclient2importMtmClient
6+
importdatetime
67

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

4243
foriinrange(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
foriinrange(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)

[8]ページ先頭

©2009-2025 Movatter.jp