csi-test icon indicating copy to clipboard operation
csi-test copied to clipboard

Need to test other access modes

Open bswartz opened this issue 7 years ago • 6 comments

Currently we only test the SINGLE_NODE_WRITER access mode. I suggest we add positive and negative test cases for every supported access mode:

SINGLE_NODE_WRITER

  • should succeed with single readonly publish
  • should succeed with single writable publish
  • should fail with multiple publishes

SINGLE_NODE_READER_ONLY

  • should succeed with single readonly publish
  • should fail with single writable publish
  • should fail with multiple readonly publishes

MULTI_NODE_READER_ONLY

  • should succeed with single readonly publish
  • should fail with single writable publish
  • should succeed with multiple readonly publishes

MULTI_NODE_SINGLE_WRITER

  • should succeed with single writable publish
  • should succeed with multiple readonly publishes
  • should fail with writable publish plus any other publish

MULTI_NODE_MULTI_WRITER

  • should succeed with multiple writable publishes
  • no negative tests case possible?

bswartz avatar Aug 30 '18 13:08 bswartz

👍

lpabon avatar Sep 07 '18 18:09 lpabon

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

fejta-bot avatar Apr 25 '19 13:04 fejta-bot

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten

fejta-bot avatar May 25 '19 13:05 fejta-bot

/lifecycle frozen

msau42 avatar Jun 05 '19 04:06 msau42

/help

msau42 avatar Jun 05 '19 04:06 msau42

@msau42: This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to this:

/help

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Jun 05 '19 04:06 k8s-ci-robot