Skip to content

Commit

Permalink
TELCODOCS-1990: Docfooding feedback openshift#4 applied
Browse files Browse the repository at this point in the history
  • Loading branch information
Padraig O'Grady committed Dec 11, 2024
1 parent 62895e0 commit d259b0a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/cnf-performing-end-to-end-tests-running-the-tests.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ When executing `podman` commands as a non-root or non-privileged user, mounting

.Prerequisites

* You have logged in to `registry.redhat.io` with your Customer Portal credentials.
* Using the `podman login` command, you have logged in to `registry.redhat.io` with your Customer Portal credentials.
.Procedure

. Open a shell prompt in the directory containing the `kubeconfig` file.
+
You provide the test image with a `kubeconfig` file in current directory and its related `$KUBECONFIG` environment variable, mounted through a volume. This allows the running container to use the `kubeconfig` file from inside the container.
+
[NOTE]
====
You provide the test image with a `kubeconfig` file in current directory and its related `$KUBECONFIG` environment variable, mounted through a volume. This allows the running container to use the `kubeconfig` file from inside the container.

In the following command, your local `kubeconfig` is mounted to kubeconfig/kubeconfig in the cnf-tests container, which allows access to the cluster.
====

+
. To run the latency tests, run the following command, substituting variable values as appropriate:
+
[source,terminal,subs="attributes+"]
Expand All @@ -50,9 +50,9 @@ If the results exceed the latency threshold, the test fails.

. Optional: Append `--ginkgo.timeout="24h"` flag to ensure the Ginkgo 2.0 test suite does not timeout before the latency tests complete.
+
Additional, and more targetted latency tests, are detailed in the following sections.
+
[IMPORTANT]
====
For valid results, the test should run for at least 12 hours.
====
+
Additional, and more targetted latency tests, are detailed in the following sections.

0 comments on commit d259b0a

Please sign in to comment.