Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-namespace support for scaling test cases #70

Open
LucasRoesler opened this issue Apr 18, 2021 · 0 comments · May be fixed by #75
Open

Add multi-namespace support for scaling test cases #70

LucasRoesler opened this issue Apr 18, 2021 · 0 comments · May be fixed by #75

Comments

@LucasRoesler
Copy link
Member

Refactor the test cases in the scaling_test.go to use the same table driven test pattern introduced in #66 so that we can run the tests in the default "empty" namespace and a non-default namespace when it is configured.

Part of #61

LucasRoesler added a commit to LucasRoesler/certifier that referenced this issue Jun 20, 2021
Rewrite the scaling tests into a table driven test and add support to
running in multiple namespaces.

**Testing**

```sh
kind create cluster

arkade install openfaas --basic-auth=false --clusterrole

kubectl create namespace certifier-test
kubectl annotate namespace/certifier-test openfaas="1"

export CERTIFIER_NAMESPACES=certifier-test

kubectl port-forward -n openfaas svc/gateway 8080:8080 &
make test-kubernetes
```

Resolves openfaas#70

Signed-off-by: Lucas Roesler <[email protected]>
@LucasRoesler LucasRoesler linked a pull request Jun 20, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant