Skip to content

Commit

Permalink
Update testing docs
Browse files Browse the repository at this point in the history
Signed-off-by: yangchiu <[email protected]>
  • Loading branch information
yangchiu committed Sep 11, 2024
1 parent 51742f8 commit 61b0e70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions integration/test_kubernetes.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ <h2 class="section-title" id="header-functions">Functions</h2>
:return: The Persistent Volume that was provisioned.</p></div>
</dd>
<dt id="tests.test_kubernetes.test_backup_kubernetes_status"><code class="name flex">
<span>def <span class="ident">test_backup_kubernetes_status</span></span>(<span>set_random_backupstore, client, core_api, pod)</span>
<span>def <span class="ident">test_backup_kubernetes_status</span></span>(<span>set_random_backupstore, client, core_api, pod, storage_class)</span>
</code></dt>
<dd>
<div class="desc"><p>Test that Backups have KubernetesStatus stored properly when there is an
associated PersistentVolumeClaim and Pod.</p>
<ol>
<li>Setup a random backupstore</li>
<li>Set settings Longhorn Static StorageClass to <code>longhorn-static-test</code></li>
<li>Set settings Longhorn Static StorageClass to <code>longhorn-test</code></li>
<li>Create a volume and PV/PVC. Verify the StorageClass of PVC</li>
<li>Create a Pod using the PVC.</li>
<li>Check volume's Kubernetes status to reflect PV/PVC/Pod correctly.</li>
Expand Down Expand Up @@ -227,10 +227,10 @@ <h2 class="section-title" id="header-functions">Functions</h2>
created.</p>
<ol>
<li>Create a StorageClass and set it to be the default StorageClass</li>
<li>Update static StorageClass to <code>longhorn-static-test</code></li>
<li>Update static StorageClass to <code>longhorn-test</code></li>
<li>Create volume then PV/PVC.</li>
<li>Make sure the newly created PV/PVC using StorageClass
<code>longhorn-static-test</code></li>
<code>longhorn-test</code></li>
<li>Create pod with PVC.</li>
<li>Verify volume's Kubernetes Status</li>
<li>Remove PVC and Pod.</li>
Expand Down

0 comments on commit 61b0e70

Please sign in to comment.