Skip to content

Commit 4c51070

Browse files
committed
Fix markdown line breaks
Signed-off-by: Ivan Sim <[email protected]>
1 parent 5314374 commit 4c51070

File tree

1 file changed

+27
-8
lines changed
  • keps/sig-storage/3314-csi-differential-snapshot

1 file changed

+27
-8
lines changed

keps/sig-storage/3314-csi-differential-snapshot/README.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -543,47 +543,66 @@ Prerequisites:
543543

544544
###### Test Suite 1 - Custom Resource Management
545545

546-
Test case 1: Create `DifferentialSnapshot` custom resource referencing the two
546+
Test case 1:
547+
Create `DifferentialSnapshot` custom resource referencing the two
547548
base and target `VolumeSnapshot`s in the fixture.
549+
548550
Expected result: Custom resource created successfully with its `status`
549551
subresource updated to include callback URL and `url-ready` state.
550552

551-
Test case 2: Create `DifferentialSnapshot` custom resource referencing the
553+
Test case 2:
554+
Create `DifferentialSnapshot` custom resource referencing the
552555
target `VolumeSnapshot`, with the base `VolumeSnapshot` left empty.
556+
553557
Expected result: Custom resource created successfully with its `status`
554558
subresource updated to include callback URL and `url-ready` state.
559+
555560
Requirement: The base `VolumeSnapshot` is an optional field.
556561

557-
Test case 3: Create `DifferentialSnapshot` custom resource referencing the
562+
Test case 3:
563+
Create `DifferentialSnapshot` custom resource referencing the
558564
base `VolumeSnapshot`, with the target `VolumeSnapshot` left empty.
565+
559566
Expected result: Custom resource failed to be created. Its `status` subresource
560567
should not have the callback URL. Its state should be set to `failed` with a
561568
`NotFound` error message in the `error` field.
569+
562570
Requirement: The target `VolumeSnapshot` is a required field.
563571

564-
Test case 4: Create `DifferentialSnapshot` custom resource referencing
572+
Test case 4:
573+
Create `DifferentialSnapshot` custom resource referencing
565574
non-existing base and target `VolumeSnapshot`s.
575+
566576
Expected result: Custom resource failed to be created. Its `status` subresource
567577
should not have the callback URL. Its state should be set to `failed` with a
568578
`NotFound` error message in the `error` field.
579+
569580
Requirement: The target `VolumeSnapshot` is a required field.
570581

571-
Test case 5: Update an existing `DifferentialSnapshot` custom resource to
582+
Test case 5:
583+
Update an existing `DifferentialSnapshot` custom resource to
572584
reference a different target `VolumeSnapshot`.
585+
573586
Expected result: Custom resource is updated successfully. Its `status`
574587
subresource is updated to include callback URL and `url-ready` state.
575588

576-
Test case 6: Delete an existing `DifferentialSnapshot` custom resource.
589+
Test case 6:
590+
Delete an existing `DifferentialSnapshot` custom resource.
591+
577592
Expected result: Custom resource is deleted successfully.
578593

579594
###### Test Suite 2 - HTTP Listener
580595

581-
Test case 1: Send a HTTP request with a fake `Authorisation` bearer token to the
596+
Test case 1:
597+
Send a HTTP request with a fake `Authorisation` bearer token to the
582598
`DifferentialSnapshot` listener's fake handler.
599+
583600
Expected result: The listener should return a HTTP 200 `OK` status code.
584601

585-
Test case 2: Send a HTTP request without an `Authorisation` bearer token to the
602+
Test case 2:
603+
Send a HTTP request without an `Authorisation` bearer token to the
586604
`DifferentialSnapshot` listener's fake handler.
605+
587606
Expected result: The listener should return a HTTP 403 `Forbidden` status code.
588607

589608
##### e2e tests

0 commit comments

Comments
 (0)