@@ -49,8 +49,14 @@ def test_start_time_format(self):
49
49
show_backup = show_backup + self .show_pb (backup_dir , 'node' )
50
50
i += 1
51
51
52
+ print (show_backup [1 ]['id' ])
53
+ print (show_backup [2 ]['id' ])
54
+
52
55
self .assertTrue (show_backup [1 ]['id' ] == show_backup [2 ]['id' ], "ERROR: Localtime format using instead of UTC" )
53
56
57
+ output = self .show_pb (backup_dir , as_json = False , as_text = True )
58
+ self .assertNotIn ("backup ID in control file" , output )
59
+
54
60
node .stop ()
55
61
# Clean after yourself
56
62
self .del_test_dir (module_name , fname )
@@ -92,7 +98,7 @@ def test_dst_timezone_handling(self):
92
98
node .slow_start ()
93
99
94
100
print (subprocess .Popen (
95
- ['sudo' , 'timedatectl' , 'set-timezone' , 'US /Detroit' ],
101
+ ['sudo' , 'timedatectl' , 'set-timezone' , 'America /Detroit' ],
96
102
stdout = subprocess .PIPE ,
97
103
stderr = subprocess .PIPE ).communicate ())
98
104
@@ -168,7 +174,7 @@ def test_dst_timezone_handling_backward_compatibilty(self):
168
174
node .slow_start ()
169
175
170
176
subprocess .Popen (
171
- ['sudo' , 'timedatectl' , 'set-timezone' , 'US /Detroit' ],
177
+ ['sudo' , 'timedatectl' , 'set-timezone' , 'America /Detroit' ],
172
178
stdout = subprocess .PIPE ,
173
179
stderr = subprocess .PIPE ).communicate ()
174
180
0 commit comments