File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import (
2222 "encoding/json"
2323 "net/http"
2424 "net/http/httptest"
25+ "os"
2526 "testing"
2627
2728 "github.com/stretchr/testify/require"
@@ -59,6 +60,7 @@ func TestReadyz(t *testing.T) {
5960 "a" : {Status : readyz .Initializing },
6061 "b" : {Status : readyz .Initializing },
6162 },
63+ PID : os .Getpid (),
6264 },
6365 response ,
6466 )
@@ -107,6 +109,7 @@ func TestReadyz(t *testing.T) {
107109 "a" : {Status : readyz .Healthy },
108110 "b" : {Status : readyz .Unhealthy , Reason : "database is down" },
109111 },
112+ PID : os .Getpid (),
110113 },
111114 response ,
112115 )
@@ -133,6 +136,7 @@ func TestReadyz(t *testing.T) {
133136 "a" : {Status : readyz .Healthy },
134137 "b" : {Status : readyz .Healthy },
135138 },
139+ PID : os .Getpid (),
136140 },
137141 response ,
138142 )
You can’t perform that action at this time.
0 commit comments