Skip to content

Commit

Permalink
test(negative): stress volume node memory when volume is online expan…
Browse files Browse the repository at this point in the history
…ding

ref: 6982

Signed-off-by: Chin-Ya Huang <[email protected]>
  • Loading branch information
c3y1huang committed Nov 3, 2023
1 parent aeadd4b commit b7cf081
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions e2e/tests/stress_memory.robot
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Documentation Negative Test Cases
Resource ../keywords/node.resource
Resource ../keywords/volume.resource
Resource ../keywords/workload.resource
Resource ../keywords/common.resource

Test Setup Set test environment
Expand Down Expand Up @@ -38,3 +39,18 @@ Stress Volume Node Memory When Volume Is Detaching and Attaching

And Check data is intact
END

Stress Volume Node Memory When Volume Is Online Expanding
@{data_checksum_list} = Create List
Set Test Variable ${data_checksum_list}

Given Create statefulset 0 with rwo volume
And Write 1024 MB data to statefulset 0

FOR ${i} IN RANGE ${LOOP_COUNT}
And Stress the memory of all volume nodes
When Expand statefulset 0 volume by 100 MiB

Then Wait for statefulset 0 volume size expanded
And Check statefulset 0 data is intact
END

0 comments on commit b7cf081

Please sign in to comment.