• yacovm's avatar
    [FAB-15201] Fix TestSend flake · 74e0e4b7
    yacovm authored
    
    
    The test ensures that a certain amount of sends were invoked on the fake
    gRPC stream, but it atomically increments it after writing to a channel
    instead of first atomically incrementing and then writing to the channel
    (which signals the test goroutine to asserting).
    
    Change-Id: I1023685bfc3cf7cf33d7a18136578b3fb075fa30
    Signed-off-by: default avataryacovm <yacovm@il.ibm.com>
    74e0e4b7
rpc_test.go 9.3 KB