Skip to content

Commit

Permalink
fix(robot): fix flaky test case Disrupt Data Plane Traffic For Less T…
Browse files Browse the repository at this point in the history
…han Long Engine Replica Timeout

Signed-off-by: Yang Chiu <yang.chiu@suse.com>
  • Loading branch information
yangchiu committed Oct 14, 2024
1 parent 1d96036 commit 549b9f3
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions e2e/tests/regression/test_ha.robot
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@ ${RETRY_INTERVAL} 1

*** Test Cases ***
Disrupt Data Plane Traffic For Less Than Long Engine Replica Timeout
Given Set setting engine-replica-timeout to 8
Given Set setting engine-replica-timeout to 15
And Set setting auto-salvage to false
And Create storageclass longhorn-test with dataEngine=v1
And Create statefulset 0 using RWO volume with longhorn-test storageclass
And Drop instance-manager egress traffic of statefulset 0 for 10 seconds without waiting for completion
Then Write 1024 MB data to file data in statefulset 0
And Wait for volume of statefulset 0 attached and degraded
And Wait for volume of statefulset 0 healthy
And Check statefulset 0 data in file data is intact
FOR ${i} IN RANGE ${LOOP_COUNT}
And Drop instance-manager egress traffic of statefulset 0 for 25 seconds without waiting for completion
Then Write 1024 MB data to file data in statefulset 0
And Wait for volume of statefulset 0 attached and degraded
And Wait for volume of statefulset 0 healthy
And Check statefulset 0 data in file data is intact
END

Don't Orphan Processes When Node Not Ready
[Tags] robot:skip
Expand Down

0 comments on commit 549b9f3

Please sign in to comment.