• Masaki Kimura's avatar
    Add e2e tests for volumeMode of persistent volume · 1b06ba50
    Masaki Kimura authored
    This set of e2e tests is to confirm that persistent volume works well for all volumeModes.
    Coverage of the tests are shown in the figure of [Test cases], below.
    
    Once implementation policy is confirmed to be good, we can add plugins and test cases to this.
    
    [Test cases]
     #   plugin      volumeMode    Test case                                              Expectation
    --- ---------- -------------- ------------------------------------------------------ ------------
     1    iSCSI      Block         (a) Create Pod with PV and confirm Read/Write to PV    Success
     2    iSCSI      FileSystem    (a) Create Pod with PV and confirm Read/Write to PV    Success
     3    RBD        Block         (a) Create Pod with PV and confirm Read/Write to PV    Success
     4    RBD        FileSystem    (a) Create Pod with PV and confirm Read/Write to PV    Success
     5    CephFS     Block         (a) Create Pod with PV and confirm Read/Write to PV    Fail
     6    CephFS     FileSystem    (a) Create Pod with PV and confirm Read/Write to PV    Success
     7    NFS        Block         (a) Create Pod with PV and confirm Read/Write to PV    Fail
     8    NFS        FileSystem    (a) Create Pod with PV and confirm Read/Write to PV    Success
    
    fixes: #56803
    1b06ba50
persistent_volumes-volumemode.go 13.6 KB