Skip to content

Commit

Permalink
print offending primaryStatusString
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed May 20, 2024
1 parent a3b2660 commit e5b8e92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/test/endtoend/reparent/plannedreparent/reparent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,9 @@ func TestFullStatus(t *testing.T) {
require.NoError(t, err)
primaryStatus := &replicationdatapb.FullStatus{}
err = protojson.Unmarshal([]byte(primaryStatusString), primaryStatus)
if err != nil {
t.Logf("TestFullStatus got primaryStatusString: %s", string(primaryStatusString))
}
require.NoError(t, err)
assert.NotEmpty(t, primaryStatus.ServerUuid)
assert.NotEmpty(t, primaryStatus.ServerId)
Expand Down

0 comments on commit e5b8e92

Please sign in to comment.