Commit a84bfa1f authored by Łukasz Magiera's avatar Łukasz Magiera

pubsub: fix race in test

parent bab85227
......@@ -38,7 +38,7 @@ func (tp *provider) TestBasicPubSub(t *testing.T) {
tick := time.Tick(100 * time.Millisecond)
for {
err = apis[1].PubSub().Publish(ctx, "testch", []byte("hello world"))
err := apis[1].PubSub().Publish(ctx, "testch", []byte("hello world"))
if err != nil {
t.Fatal(err)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment