vole
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software:2222/vole.git
A free and open-source forge that lives in your Git repo.
Expand the admin status page into an operational dashboard
4506a4d3d279556435fdd414265e7499c3dada16 · Keenan Nemetz · 14d ago · parent 2e024cc9
server/integration_test.go +2−2
| @@ -3622,14 +3622,14 @@ func repoID(t *testing.T, f *fixture) string { | |||
| 3622 | 3622 | return mustRepo(t, f).ID | |
| 3623 | 3623 | } | |
| 3624 | 3624 | ||
| 3625 | func TestHealthzReportsUsers(t *testing.T) { | ||
| 3625 | func TestHealthzIsAPlainProbe(t *testing.T) { | ||
| 3626 | 3626 | t.Parallel() | |
| 3627 | 3627 | f := newFixture(t) | |
| 3628 | 3628 | code, body := f.get("/healthz") | |
| 3629 | 3629 | if code != 200 { | |
| 3630 | 3630 | t.Fatalf("healthz: %d", code) | |
| 3631 | 3631 | } | |
| 3632 | if !strings.Contains(body, "users=1") { | ||
| 3632 | if body != "ok\n" { | ||
| 3633 | 3633 | t.Fatalf("healthz body: %q", body) | |
| 3634 | 3634 | } | |
| 3635 | 3635 | } | |