Skip to content

Commit

Permalink
describe test scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmyagkov committed Oct 15, 2024
1 parent 20b6040 commit 93ca36c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cloud/blockstore/tests/csi_driver/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,9 +499,9 @@ def test_restart_kubelet_with_old_format_endpoint():
pod_name1 = "example-pod-1"
pod_id1 = "deadbeef1"
env.csi.create_volume(name=volume_name, size=volume_size)

# skip stage to create endpoint with old format
env.csi.publish_volume(pod_id1, volume_name, pod_name1)
# run stage/publish again to simulate kubelet restart
env.csi.stage_volume(volume_name)
env.csi.publish_volume(pod_id1, volume_name, pod_name1)
except subprocess.CalledProcessError as e:
Expand All @@ -527,6 +527,7 @@ def test_restart_kubelet_with_new_format_endpoint():
env.csi.create_volume(name=volume_name, size=volume_size)
env.csi.stage_volume(volume_name)
env.csi.publish_volume(pod_id1, volume_name, pod_name1)
# run stage/publish again to simulate kubelet restart
env.csi.stage_volume(volume_name)
env.csi.publish_volume(pod_id1, volume_name, pod_name1)
except subprocess.CalledProcessError as e:
Expand Down

0 comments on commit 93ca36c

Please sign in to comment.