We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59c6315 commit 3ff74d9Copy full SHA for 3ff74d9
dbos/admin_server_test.go
@@ -38,7 +38,7 @@ func TestAdminServer(t *testing.T) {
38
39
// Verify admin server is not running
40
client := &http.Client{Timeout: 1 * time.Second}
41
- _, err = client.Get("http://localhost:3001/dbos-healthz")
+ _, err = client.Get(fmt.Sprintf("http://localhost:3001/%s", strings.TrimPrefix(_HEALTHCHECK_PATTERN, "GET /")))
42
require.Error(t, err, "Expected request to fail when admin server is not started")
43
44
// Verify the DBOS executor doesn't have an admin server instance
0 commit comments