kmp functests, Fix getMetrics e2e test
Since getMetrics uses kmp, and kmp e2e tests
need to run from the directory where the cluster was created,
export CLUSTER_ROOT_DIRECTORY, which will be used by kmp e2e tests
in order to use the cluster created by CNAO.
@@ -53,6 +53,7 @@ main() {
# Run KubeMacPool functional tests
cd ${TMP_COMPONENT_PATH}
+ export CLUSTER_ROOT_DIRECTORY=${TMP_PROJECT_PATH}
KUBECONFIG=${KUBECONFIG} E2E_TEST_ARGS="--junit-output=$ARTIFACTS/junit.functest.xml --ginkgo.skip $SKIPPED_TESTS" make functest
}
