Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

fix: pubsub tests #66

Merged
merged 8 commits into from May 9, 2019
Merged

fix: pubsub tests #66

merged 8 commits into from May 9, 2019

Conversation

jacobheun
Copy link
Contributor

@jacobheun jacobheun commented Apr 29, 2019

Looking into pull-mplex updates in js-ipfs I noticed the pubsub tests here needed improvement. For example, JS -> JS and go -> go just use the same node for publishing and subscribing. I refactored the tests to spin up unique nodes for each suite.

This exposed a current issue with go -> js pubsub failing. I am looking into this.

@ghost ghost assigned jacobheun Apr 29, 2019
@ghost ghost added the status/in-progress In progress label Apr 29, 2019
@jacobheun jacobheun changed the title [WIP] fix: pubsub tests fix: pubsub tests May 6, 2019
@jacobheun jacobheun marked this pull request as ready for review May 6, 2019 14:12
@jacobheun jacobheun requested a review from alanshaw May 6, 2019 14:12
@alanshaw
Copy link
Member

alanshaw commented May 9, 2019

LGTM, windows failure is persistent though. Looks vaguely unrelated but spawnInitAndStartJsDaemon is used in the CID version agnostic tests (and has been changed here).

@jacobheun
Copy link
Contributor Author

jacobheun commented May 9, 2019

@alanshaw it looks like this is a flakey timeout issue. I reran windows and it passed this time. I think I've seen the before fail previously. I bumped the timeout to help avoid the flakey failure in the future.

@alanshaw alanshaw merged commit 7576947 into master May 9, 2019
@alanshaw alanshaw deleted the test/pubsub branch May 9, 2019 18:55
@ghost ghost removed the status/in-progress In progress label May 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants