Fix gRPC flaky test (#6900)
* Fix gRPC flaky test * Fix non-determinism * Revert waitforheightwithtimeout * Don't use NotNil Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
parent
e15d0322dc
commit
eb08781e8a
|
@ -68,7 +68,7 @@ func (s *IntegrationTestSuite) TestGRPC() {
|
||||||
*bankRes.GetBalance(),
|
*bankRes.GetBalance(),
|
||||||
)
|
)
|
||||||
blockHeight := header.Get(servergrpc.GRPCBlockHeightHeader)
|
blockHeight := header.Get(servergrpc.GRPCBlockHeightHeader)
|
||||||
s.Require().Equal([]string{"2"}, blockHeight)
|
s.Require().NotEqual("", blockHeight[0]) // Should contain the block height
|
||||||
|
|
||||||
// Request metadata should work
|
// Request metadata should work
|
||||||
bankRes, err = bankClient.Balance(
|
bankRes, err = bankClient.Balance(
|
||||||
|
|
Loading…
Reference in New Issue