Skip to content

Commit

Permalink
fix(spanner): add extra field to ignore with cmp (#2577)
Browse files Browse the repository at this point in the history
This was caused by the upgrade of grpc in #2564.

Fixes: #2571
  • Loading branch information
codyoss committed Jul 9, 2020
1 parent 9c348e6 commit e493799
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spanner/cmp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ func testEqual(a, b interface{}) bool {
if strings.HasSuffix(path.GoString(), ".err.(*status.Error).unknownFields") {
return true
}
if strings.HasSuffix(path.GoString(), ".err.(*status.Error).e") {
return true
}
if strings.Contains(path.GoString(), "{*status.Error}.state") {
return true
}
Expand Down

0 comments on commit e493799

Please sign in to comment.