Skip to content

Commit fd7e6b8

Browse files
authored
Merge pull request #32346 from jcfrye77/TELCODOCS-163
Telcodocs 163
2 parents a5257d3 + a80b85b commit fd7e6b8

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

modules/cnf-performing-end-to-end-tests-for-platform-verification.adoc

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,36 @@ $ docker run -v $(pwd)/:/kubeconfig:Z -e KUBECONFIG=/kubeconfig/kubeconfig -e
504504
CLEAN_PERFORMANCE_PROFILE="false" registry.redhat.io/openshift-kni/cnf-tests /usr/bin/test-run.sh
505505
----
506506

507+
[id="cnf-performing-end-to-end-tests-running-in-single-node-cluster_{context}"]
508+
== Running in a single node cluster
509+
510+
Running tests on a single node cluster causes the following limitations to be imposed:
511+
512+
* Longer timeouts for certain tests, including SR-IOV and SCTP tests
513+
* Tests requiring master and worker nodes are skipped
514+
515+
Longer timeouts concern SR-IOV and SCTP tests. Reconfiguration requiring node reboots cause a reboot of the entire environment, including the OpenShift control plane, and therefore takes longer to complete. All PTP tests requiring a master and worker node are skipped. No additional configuration is needed because the tests check for the number of nodes at startup and adjust test behavior accordingly.
516+
517+
PTP tests can run in Discovery mode. The tests look for a PTP master configured outside of the cluster.
518+
519+
For more information, see the Discovery mode section.
520+
// TODO update to xref
521+
522+
To enable Discovery mode, the tests must be instructed by setting the `DISCOVERY_MODE` environment variable as follows:
523+
524+
[source,terminal]
525+
----
526+
$ docker run -v $(pwd)/:/kubeconfig:Z -e KUBECONFIG=/kubeconfig/kubeconfig -e
527+
DISCOVERY_MODE=true registry.redhat.io/openshift-kni/cnf-tests /usr/bin/test-run.sh
528+
----
529+
530+
[discrete]
531+
=== Required parameters
532+
533+
* `ROLE_WORKER_CNF=master` - Required because master is the only machine pool to which the node will belong.
534+
* `XT_U32TEST_HAS_NON_CNF_WORKERS=false` - Required to instruct the xt_u32 negative test to skip because there are only nodes where the module is loaded.
535+
* `SCTPTEST_HAS_NON_CNF_WORKERS=false` - Required to instruct the SCTP negative test to skip because there are only nodes where the module is loaded.
536+
507537
[id="cnf-performing-end-to-end-tests-troubleshooting_{context}"]
508538
== Troubleshooting
509539

0 commit comments

Comments
 (0)