Skip to content

Commit 3ff74d9

Browse files
committed
nit
1 parent 59c6315 commit 3ff74d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbos/admin_server_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func TestAdminServer(t *testing.T) {
3838

3939
// Verify admin server is not running
4040
client := &http.Client{Timeout: 1 * time.Second}
41-
_, err = client.Get("http://localhost:3001/dbos-healthz")
41+
_, err = client.Get(fmt.Sprintf("http://localhost:3001/%s", strings.TrimPrefix(_HEALTHCHECK_PATTERN, "GET /")))
4242
require.Error(t, err, "Expected request to fail when admin server is not started")
4343

4444
// Verify the DBOS executor doesn't have an admin server instance

0 commit comments

Comments
 (0)