Skip to content

Commit 6ca06a5

Browse files
shuo-wuyangchiu
authored andcommitted
fix: add some debug logs for migration related robot tests
Longhorn 10800 Signed-off-by: Shuo Wu <shuo.wu@suse.com>
1 parent 41141da commit 6ca06a5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

e2e/tests/negative/ha_volume_migration.robot

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ Migration Confirmation Before Migration Engine Crash
137137

138138
# migration confirmation by detaching from the original node
139139
When Detach volume 0 from node 0
140+
And Log To Console "Sleep 0.5s after migration confirmation but before the migration engine crash"
140141
And Sleep 0.5
141142
# crash the engine on the migration node by killing its instance-manager pod
142143
And Delete ${DATA_ENGINE} instance manager on node 1
@@ -175,6 +176,7 @@ Migration Rollback Before Migration Engine Crash
175176

176177
# migration rollback by detaching from the migration node
177178
When Detach volume 0 from node 1
179+
And Log To Console "Sleep 0.5s after migration rollback but before the migration engine crash"
178180
And Sleep 0.5
179181
# crash the engine on the migration node by killing its instance-manager pod
180182
And Delete ${DATA_ENGINE} instance manager on node 1
@@ -213,6 +215,7 @@ Migration Confirmation Before Original Engine Crash
213215

214216
# migration confirmation by detaching from the original node
215217
When Detach volume 0 from node 0
218+
And Log To Console "Sleep 0.5s after migration confirmation but before the original engine crash"
216219
And Sleep 0.5
217220
# crash the engine on the original node by killing its instance-manager pod
218221
And Delete ${DATA_ENGINE} instance manager on node 0
@@ -251,6 +254,7 @@ Migration Rollback Before Original Engine Crash
251254

252255
# migration rollback by detaching from the migration node
253256
When Detach volume 0 from node 1
257+
And Log To Console "Sleep 0.5s after migration rollback but before the original engine crash"
254258
And Sleep 0.5
255259
# crash the engine on the original node by killing its instance-manager pod
256260
And Delete ${DATA_ENGINE} instance manager on node 0

0 commit comments

Comments
 (0)