You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* check if err is nil on metrics server run
* add documentation about running the tests
* add tests for metrics server start failure
* Specs: address linter issue
* Add script/test-unit information
---------
Co-authored-by: aram price <aramprice@users.noreply.github.com>
Co-authored-by: Ahmed Hassanin <ahmed.hassanin@sap.com>
Copy file name to clipboardExpand all lines: README.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,3 +18,29 @@ This repository is a `GOPATH`. The [`.envrc`](.envrc) file provides a setup that
18
18
Be careful with `go get`. In this repository `go get` will end up putting artifacts in the `src` directory, which you probably don't want to commit. It's impractical to `.gitignore` every possible package root in there so we have to apply discipline.
19
19
20
20
To build a dev release, run a `bosh create-release` from this repo.
21
+
22
+
## Running the tests
23
+
24
+
Before the tests can be run, you need to execute the following commands:
25
+
26
+
### On macOS
27
+
28
+
```bash
29
+
sudo ifconfig lo0 alias 127.0.0.2 up
30
+
sudo ifconfig lo0 alias 127.0.0.3 up
31
+
sudo ifconfig lo0 alias 127.0.0.253 up
32
+
sudo ifconfig lo0 alias 127.0.0.254 up
33
+
sudo sysctl -w kern.ipc.somaxconn=1024 # default is 128
34
+
```
35
+
36
+
Then run the tests:
37
+
38
+
```bash
39
+
./scripts/test-unit
40
+
```
41
+
42
+
You could also use ginkgo to run a specific test suite
0 commit comments