Unverified Commit e8680f50 authored by Łukasz Magiera's avatar Łukasz Magiera Committed by GitHub

Merge pull request #3 from ipfs/fix/ps-test-race

Fix Pubsub test race
parents bab85227 3ac0adef
...@@ -91,6 +91,6 @@ ...@@ -91,6 +91,6 @@
"license": "", "license": "",
"name": "interface-go-ipfs-core", "name": "interface-go-ipfs-core",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"", "releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "0.1.2" "version": "0.1.3"
} }
...@@ -38,7 +38,7 @@ func (tp *provider) TestBasicPubSub(t *testing.T) { ...@@ -38,7 +38,7 @@ func (tp *provider) TestBasicPubSub(t *testing.T) {
tick := time.Tick(100 * time.Millisecond) tick := time.Tick(100 * time.Millisecond)
for { for {
err = apis[1].PubSub().Publish(ctx, "testch", []byte("hello world")) err := apis[1].PubSub().Publish(ctx, "testch", []byte("hello world"))
if err != nil { if err != nil {
t.Fatal(err) 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